diff options
author | Xinliang David Li <davidxl@google.com> | 2016-07-22 04:08:16 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-07-22 04:08:16 +0000 |
commit | a5817152a50137318d7c4340f4c7a208bc5ead8e (patch) | |
tree | 850b50c452512646ba2f0c5a9c7b9b2c3f9db880 /lib/profile/InstrProfiling.c | |
parent | e7c718abcb8834b3798ebd10a1339045c3dc0bab (diff) |
[Profile] cleanup: do not reference name directly of vars shared between rt and llvm
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@276385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfiling.c')
-rw-r--r-- | lib/profile/InstrProfiling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/InstrProfiling.c b/lib/profile/InstrProfiling.c index 0995137de..b7ba25f30 100644 --- a/lib/profile/InstrProfiling.c +++ b/lib/profile/InstrProfiling.c @@ -18,7 +18,7 @@ COMPILER_RT_VISIBILITY char *(*GetEnvHook)(const char *) = 0; -COMPILER_RT_WEAK uint64_t __llvm_profile_raw_version = INSTR_PROF_RAW_VERSION; +COMPILER_RT_WEAK uint64_t INSTR_PROF_RAW_VERSION_VAR = INSTR_PROF_RAW_VERSION; COMPILER_RT_WEAK char INSTR_PROF_PROFILE_NAME_VAR[1] = {0}; |