Skip to content

Commit eb68edd

Browse files
Use APPLE macro instead of custom macro
1 parent 64b85d9 commit eb68edd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

compiler-rt/lib/profile/InstrProfilingFile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ COMPILER_RT_VISIBILITY int __llvm_profile_set_file_object(FILE *File,
12731273
return 0;
12741274
}
12751275

1276-
#ifdef COMPILER_RT_GPU_ENTRYPOINT
1276+
#ifndef __APPLE__
12771277
int __llvm_write_custom_profile(const char *Target,
12781278
const __llvm_profile_data *DataBegin,
12791279
const __llvm_profile_data *DataEnd,

compiler-rt/lib/profile/InstrProfilingPort.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
#define COMPILER_RT_SEG "__DATA,"
4646
#else
4747
#define COMPILER_RT_SEG ""
48-
#define COMPILER_RT_GPU_ENTRYPOINT
4948
#endif
5049

5150
#ifdef _MSC_VER

0 commit comments

Comments
 (0)