summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingUtil.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
commit59fbc2bbf28cedbf73bae7bbbb5c8fa2161e8cde (patch)
tree1ddb1a54562462c0da9a9408c12cecaaf1e7fb70 /lib/profile/InstrProfilingUtil.c
parentd903a578b4b2a00732dee763753c22f35bb04b89 (diff)
[PGO] internal API name cleanups (for better consistency)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@262788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingUtil.c')
-rw-r--r--lib/profile/InstrProfilingUtil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/InstrProfilingUtil.c b/lib/profile/InstrProfilingUtil.c
index b7892d841..59b17511c 100644
--- a/lib/profile/InstrProfilingUtil.c
+++ b/lib/profile/InstrProfilingUtil.c
@@ -37,7 +37,7 @@ void __llvm_profile_recursive_mkdir(char *path) {
#if COMPILER_RT_HAS_ATOMICS != 1
COMPILER_RT_VISIBILITY
-uint32_t BoolCmpXchg(void **Ptr, void *OldV, void *NewV) {
+uint32_t lprofBoolCmpXchg(void **Ptr, void *OldV, void *NewV) {
void *R = *Ptr;
if (R == OldV) {
*Ptr = NewV;