From b5a2b3a4299010f9952d877017d838996c73741c Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Mon, 9 May 2016 19:01:19 +0000 Subject: Fix variable visibility llvm-svn: 268952 --- compiler-rt/lib/profile/InstrProfiling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler-rt/lib/profile/InstrProfiling.c') 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; -- cgit v1.2.3