diff options
author | Xinliang David Li <davidxl@google.com> | 2016-05-09 19:01:19 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-05-09 19:01:19 +0000 |
commit | 022871f9049d485bb6ce0fd0cc02aa28c57897ae (patch) | |
tree | 7ebd1723b126d7ed8ae5b98f6e0ba0115698037d /lib/profile/InstrProfilingWriter.c | |
parent | 732cc3370d79c00635c5f98bd657332b57bbc90e (diff) |
Fix variable visibility
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@268952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingWriter.c')
-rw-r--r-- | lib/profile/InstrProfilingWriter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/profile/InstrProfilingWriter.c b/lib/profile/InstrProfilingWriter.c index 18b3f3464..9513931c6 100644 --- a/lib/profile/InstrProfilingWriter.c +++ b/lib/profile/InstrProfilingWriter.c @@ -13,8 +13,8 @@ #define INSTR_PROF_VALUE_PROF_DATA #include "InstrProfData.inc" -void (*FreeHook)(void *) = NULL; -void* (*CallocHook)(size_t, size_t) = NULL; +COMPILER_RT_VISIBILITY void (*FreeHook)(void *) = NULL; +COMPILER_RT_VISIBILITY void *(*CallocHook)(size_t, size_t) = NULL; uint32_t VPBufferSize = 0; /* The buffer writer is reponsponsible in keeping writer state |