diff options
author | Paul Robinson <paul.robinson@sony.com> | 2016-05-16 17:22:32 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2016-05-16 17:22:32 +0000 |
commit | ef33572212a3dd2d2f7d1984c25448fac20b21e1 (patch) | |
tree | 2243b3fc39db723dee928bd4927c1586166e9ecc | |
parent | 4659e3654e4d1c0214513d1e7d81a1edc4e3aadb (diff) |
[PS4] Change the names of some "environmental" things to what our
licensees actually see in the toolchain we deliver to them. This will
reduce the set of local patches we have to maintain. The triple is
not changing. (The term ORBIS is an internal code name for PS4.)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269672 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/profile/InstrProfilingPort.h | 2 | ||||
-rw-r--r-- | lib/profile/InstrProfilingUtil.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/profile/InstrProfilingPort.h b/lib/profile/InstrProfilingPort.h index 9e3fb8389..94c2e13b4 100644 --- a/lib/profile/InstrProfilingPort.h +++ b/lib/profile/InstrProfilingPort.h @@ -27,7 +27,7 @@ #define COMPILER_RT_MAX_HOSTLEN 128 #ifdef _MSC_VER #define COMPILER_RT_GETHOSTNAME(Name, Len) gethostname(Name, Len) -#elif defined(__PS4__) +#elif defined(__ORBIS__) #define COMPILER_RT_GETHOSTNAME(Name, Len) (-1) #else #define COMPILER_RT_GETHOSTNAME(Name, Len) lprofGetHostName(Name, Len) diff --git a/lib/profile/InstrProfilingUtil.h b/lib/profile/InstrProfilingUtil.h index 813b7dc7b..aa40e1c2f 100644 --- a/lib/profile/InstrProfilingUtil.h +++ b/lib/profile/InstrProfilingUtil.h @@ -16,9 +16,9 @@ void __llvm_profile_recursive_mkdir(char *Pathname); /* PS4 doesn't have getenv. Define a shim. */ -#if __PS4__ +#if __ORBIS__ static inline char *getenv(const char *name) { return NULL; } -#endif /* #if __PS4__ */ +#endif /* #if __ORBIS__ */ int lprofGetHostName(char *Name, int Len); |