diff options
author | Xinliang David Li <davidxl@google.com> | 2015-12-16 03:29:15 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2015-12-16 03:29:15 +0000 |
commit | 004273c0321f96065e840610853f1524f90de84a (patch) | |
tree | 537952ed3466e2d8418f7fff1deb54b0a40d86e2 /lib/profile/InstrProfilingWriter.c | |
parent | faa5183b5858b8777c41cb13a563710d301bce07 (diff) |
[PGO] cleanup: unify prefix for portability macros
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@255748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingWriter.c')
-rw-r--r-- | lib/profile/InstrProfilingWriter.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/profile/InstrProfilingWriter.c b/lib/profile/InstrProfilingWriter.c index 0147b312d..4c9e67965 100644 --- a/lib/profile/InstrProfilingWriter.c +++ b/lib/profile/InstrProfilingWriter.c @@ -10,10 +10,10 @@ #include "InstrProfiling.h" #include "InstrProfilingInternal.h" -LLVM_LIBRARY_VISIBILITY int llvmWriteProfData(WriterCallback Writer, - void *WriterCtx, - const uint8_t *ValueDataBegin, - const uint64_t ValueDataSize) { +COMPILER_RT_VISIBILITY int llvmWriteProfData(WriterCallback Writer, + void *WriterCtx, + const uint8_t *ValueDataBegin, + const uint64_t ValueDataSize) { /* Match logic in __llvm_profile_write_buffer(). */ const __llvm_profile_data *DataBegin = __llvm_profile_begin_data(); const __llvm_profile_data *DataEnd = __llvm_profile_end_data(); @@ -26,7 +26,7 @@ LLVM_LIBRARY_VISIBILITY int llvmWriteProfData(WriterCallback Writer, ValueDataSize, NamesBegin, NamesEnd); } -LLVM_LIBRARY_VISIBILITY int llvmWriteProfDataImpl( +COMPILER_RT_VISIBILITY int llvmWriteProfDataImpl( WriterCallback Writer, void *WriterCtx, const __llvm_profile_data *DataBegin, const __llvm_profile_data *DataEnd, const uint64_t *CountersBegin, const uint64_t *CountersEnd, |