mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 08:41:51 -04:00
This is a copy of llvm15 at 79aeb739c5
.
Copying it unmodifed makes it easy to diff to the source.
Sponsored by: DARPA
13 lines
480 B
C
13 lines
480 B
C
--- compiler-rt/lib/profile/InstrProfilingPlatformLinux.c.orig
|
|
+++ compiler-rt/lib/profile/InstrProfilingPlatformLinux.c
|
|
@@ -17,6 +17,10 @@
|
|
#include "InstrProfiling.h"
|
|
#include "InstrProfilingInternal.h"
|
|
|
|
+#if !defined(ElfW)
|
|
+#define ElfW(type) Elf_##type
|
|
+#endif
|
|
+
|
|
#define PROF_DATA_START INSTR_PROF_SECT_START(INSTR_PROF_DATA_COMMON)
|
|
#define PROF_DATA_STOP INSTR_PROF_SECT_STOP(INSTR_PROF_DATA_COMMON)
|
|
#define PROF_NAME_START INSTR_PROF_SECT_START(INSTR_PROF_NAME_COMMON)
|