diff options
author | Xinliang David Li <davidxl@google.com> | 2016-05-09 19:01:19 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-05-09 19:01:19 +0000 |
commit | 022871f9049d485bb6ce0fd0cc02aa28c57897ae (patch) | |
tree | 7ebd1723b126d7ed8ae5b98f6e0ba0115698037d /lib/profile/InstrProfiling.c | |
parent | 732cc3370d79c00635c5f98bd657332b57bbc90e (diff) |
Fix variable visibility
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@268952 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 24820ec6d..1c1d85af9 100644 --- a/lib/profile/InstrProfiling.c +++ b/lib/profile/InstrProfiling.c @@ -16,7 +16,7 @@ #define INSTR_PROF_VALUE_PROF_DATA #include "InstrProfData.inc" -char *(*GetEnvHook)(const char *) = 0; +COMPILER_RT_VISIBILITY char *(*GetEnvHook)(const char *) = 0; COMPILER_RT_WEAK uint64_t __llvm_profile_raw_version = INSTR_PROF_RAW_VERSION; |