diff options
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c')
| -rw-r--r-- | compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c b/compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c index decd6b09bb3..3150a2392a0 100644 --- a/compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c +++ b/compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c @@ -10,16 +10,16 @@ #include "InstrProfiling.h" /* Use linker magic to find the bounds of the Data section. */ -extern __llvm_pgo_data DataStart __asm("section$start$__DATA$__llvm_pgo_data"); -extern __llvm_pgo_data DataEnd __asm("section$end$__DATA$__llvm_pgo_data"); -extern char NamesStart __asm("section$start$__DATA$__llvm_pgo_names"); -extern char NamesEnd __asm("section$end$__DATA$__llvm_pgo_names"); -extern uint64_t CountersStart __asm("section$start$__DATA$__llvm_pgo_cnts"); -extern uint64_t CountersEnd __asm("section$end$__DATA$__llvm_pgo_cnts"); +extern __llvm_profile_data DataStart __asm("section$start$__DATA$__llvm_prf_data"); +extern __llvm_profile_data DataEnd __asm("section$end$__DATA$__llvm_prf_data"); +extern char NamesStart __asm("section$start$__DATA$__llvm_prf_names"); +extern char NamesEnd __asm("section$end$__DATA$__llvm_prf_names"); +extern uint64_t CountersStart __asm("section$start$__DATA$__llvm_prf_cnts"); +extern uint64_t CountersEnd __asm("section$end$__DATA$__llvm_prf_cnts"); -const __llvm_pgo_data *__llvm_pgo_data_begin() { return &DataStart; } -const __llvm_pgo_data *__llvm_pgo_data_end() { return &DataEnd; } -const char *__llvm_pgo_names_begin() { return &NamesStart; } -const char *__llvm_pgo_names_end() { return &NamesEnd; } -uint64_t *__llvm_pgo_counters_begin() { return &CountersStart; } -uint64_t *__llvm_pgo_counters_end() { return &CountersEnd; } +const __llvm_profile_data *__llvm_profile_data_begin() { return &DataStart; } +const __llvm_profile_data *__llvm_profile_data_end() { return &DataEnd; } +const char *__llvm_profile_names_begin() { return &NamesStart; } +const char *__llvm_profile_names_end() { return &NamesEnd; } +uint64_t *__llvm_profile_counters_begin() { return &CountersStart; } +uint64_t *__llvm_profile_counters_end() { return &CountersEnd; } |

