summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfilingBuffer.c
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-03-06 04:18:13 +0000
committerXinliang David Li <davidxl@google.com>2016-03-06 04:18:13 +0000
commitcf1a8d69129992fbddccffbaf8c2e9d81be51e67 (patch)
tree0962e32ef28d05b5b0ba84cf2510baff9de48684 /compiler-rt/lib/profile/InstrProfilingBuffer.c
parent32effa19740bba5caaf244f838e3a400469dd83d (diff)
downloadbcm5719-llvm-cf1a8d69129992fbddccffbaf8c2e9d81be51e67.tar.gz
bcm5719-llvm-cf1a8d69129992fbddccffbaf8c2e9d81be51e67.zip
[PGO] internal API name cleanups (for better consistency)
llvm-svn: 262788
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingBuffer.c')
-rw-r--r--compiler-rt/lib/profile/InstrProfilingBuffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingBuffer.c b/compiler-rt/lib/profile/InstrProfilingBuffer.c
index 1d95534e09e..dcb6929cb0a 100644
--- a/compiler-rt/lib/profile/InstrProfilingBuffer.c
+++ b/compiler-rt/lib/profile/InstrProfilingBuffer.c
@@ -46,14 +46,14 @@ uint64_t __llvm_profile_get_size_for_buffer_internal(
}
COMPILER_RT_VISIBILITY int __llvm_profile_write_buffer(char *Buffer) {
- return llvmWriteProfData(llvmBufferWriter, Buffer, 0, 0);
+ return lprofWriteData(lprofBufferWriter, Buffer, 0, 0);
}
COMPILER_RT_VISIBILITY int __llvm_profile_write_buffer_internal(
char *Buffer, const __llvm_profile_data *DataBegin,
const __llvm_profile_data *DataEnd, const uint64_t *CountersBegin,
const uint64_t *CountersEnd, const char *NamesBegin, const char *NamesEnd) {
- return llvmWriteProfDataImpl(llvmBufferWriter, Buffer, DataBegin, DataEnd,
- CountersBegin, CountersEnd, 0, 0, NamesBegin,
- NamesEnd);
+ return lprofWriteDataImpl(lprofBufferWriter, Buffer, DataBegin, DataEnd,
+ CountersBegin, CountersEnd, 0, 0, NamesBegin,
+ NamesEnd);
}
OpenPOWER on IntegriCloud