summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfilingRuntime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingRuntime.cc')
-rw-r--r--compiler-rt/lib/profile/InstrProfilingRuntime.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingRuntime.cc b/compiler-rt/lib/profile/InstrProfilingRuntime.cc
index 081ecb29e98..77fca472a62 100644
--- a/compiler-rt/lib/profile/InstrProfilingRuntime.cc
+++ b/compiler-rt/lib/profile/InstrProfilingRuntime.cc
@@ -11,8 +11,7 @@ extern "C" {
#include "InstrProfiling.h"
-__attribute__((visibility("hidden"))) int __llvm_profile_runtime;
-
+LLVM_LIBRARY_VISIBILITY int __llvm_profile_runtime;
}
namespace {
OpenPOWER on IntegriCloud