summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfiling.c
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-05-09 19:01:19 +0000
committerXinliang David Li <davidxl@google.com>2016-05-09 19:01:19 +0000
commitb5a2b3a4299010f9952d877017d838996c73741c (patch)
treeb819d5507bcbbb4a704289abbb56726e9ccd9eef /compiler-rt/lib/profile/InstrProfiling.c
parentd99f21b0e6c3bac7bcf3f417f7a18f8bb4ba85b3 (diff)
downloadbcm5719-llvm-b5a2b3a4299010f9952d877017d838996c73741c.tar.gz
bcm5719-llvm-b5a2b3a4299010f9952d877017d838996c73741c.zip
Fix variable visibility
llvm-svn: 268952
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfiling.c')
-rw-r--r--compiler-rt/lib/profile/InstrProfiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/InstrProfiling.c b/compiler-rt/lib/profile/InstrProfiling.c
index 24820ec6d83..1c1d85af986 100644
--- a/compiler-rt/lib/profile/InstrProfiling.c
+++ b/compiler-rt/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;
OpenPOWER on IntegriCloud