aboutsummaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingRuntime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/profile/InstrProfilingRuntime.cc')
-rw-r--r--lib/profile/InstrProfilingRuntime.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/profile/InstrProfilingRuntime.cc b/lib/profile/InstrProfilingRuntime.cc
index 081ecb29e987..12ad9f1573f4 100644
--- a/lib/profile/InstrProfilingRuntime.cc
+++ b/lib/profile/InstrProfilingRuntime.cc
@@ -11,8 +11,7 @@ extern "C" {
#include "InstrProfiling.h"
-__attribute__((visibility("hidden"))) int __llvm_profile_runtime;
-
+COMPILER_RT_VISIBILITY int __llvm_profile_runtime;
}
namespace {