summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfiling.c
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-06-08 01:33:15 +0000
committerVedant Kumar <vsk@apple.com>2016-06-08 01:33:15 +0000
commitce56f0620eef877720f160ce037fc377c34dd7c2 (patch)
tree94cd8a3d3ef2b44714e18b79bea964e0705b84e0 /lib/profile/InstrProfiling.c
parent4c179b46f8c72068c0b3a4a11296e0bfdf7a863c (diff)
[profile] Un-hide two symbols
- lprofCurFilename was intended to have external visibility. This is pending further discussion. - The raw version number doesn't need to be hidden: hiding it may make it easier to accidentally combine FE/IR profiles. See the mailing list discussion on r272081. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@272089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfiling.c')
-rw-r--r--lib/profile/InstrProfiling.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/profile/InstrProfiling.c b/lib/profile/InstrProfiling.c
index ab2784089..c763a4423 100644
--- a/lib/profile/InstrProfiling.c
+++ b/lib/profile/InstrProfiling.c
@@ -18,8 +18,7 @@
COMPILER_RT_VISIBILITY char *(*GetEnvHook)(const char *) = 0;
-COMPILER_RT_VISIBILITY COMPILER_RT_WEAK uint64_t __llvm_profile_raw_version =
- INSTR_PROF_RAW_VERSION;
+COMPILER_RT_WEAK uint64_t __llvm_profile_raw_version = INSTR_PROF_RAW_VERSION;
COMPILER_RT_VISIBILITY uint64_t __llvm_profile_get_magic(void) {
return sizeof(void *) == sizeof(uint64_t) ? (INSTR_PROF_RAW_MAGIC_64)