summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfilingPort.h
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/InstrProfilingPort.h
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/InstrProfilingPort.h')
-rw-r--r--compiler-rt/lib/profile/InstrProfilingPort.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingPort.h b/compiler-rt/lib/profile/InstrProfilingPort.h
index d6e063e57fe..58e085e90e0 100644
--- a/compiler-rt/lib/profile/InstrProfilingPort.h
+++ b/compiler-rt/lib/profile/InstrProfilingPort.h
@@ -28,7 +28,7 @@
#elif defined(__PS4__)
#define COMPILER_RT_GETHOSTNAME(Name, Len) (-1)
#else
-#define COMPILER_RT_GETHOSTNAME(Name, Len) GetHostName(Name, Len)
+#define COMPILER_RT_GETHOSTNAME(Name, Len) lprofGetHostName(Name, Len)
#define COMPILER_RT_HAS_UNAME 1
#endif
@@ -53,7 +53,7 @@
#endif
#else /* COMPILER_RT_HAS_ATOMICS != 1 */
#define COMPILER_RT_BOOL_CMPXCHG(Ptr, OldV, NewV) \
- BoolCmpXchg((void **)Ptr, OldV, NewV)
+ lprofBoolCmpXchg((void **)Ptr, OldV, NewV)
#endif
#define PROF_ERR(Format, ...) \
OpenPOWER on IntegriCloud