summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingMerge.c
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2016-03-04 18:33:49 +0000
committerXinliang David Li <davidxl@google.com>2016-03-04 18:33:49 +0000
commit177a43911e0a8381eb051b9ffc3302ec156d567a (patch)
tree5dca6514b643a5c73de14c7c57bd18e6d5a18262 /lib/profile/InstrProfilingMerge.c
parent4bc6f1f20d83bdfca5ec891e65d5a8897f9d526c (diff)
Fix api visibility
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@262734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingMerge.c')
-rw-r--r--lib/profile/InstrProfilingMerge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/profile/InstrProfilingMerge.c b/lib/profile/InstrProfilingMerge.c
index 820efe357..b2f133409 100644
--- a/lib/profile/InstrProfilingMerge.c
+++ b/lib/profile/InstrProfilingMerge.c
@@ -20,6 +20,7 @@
COMPILER_RT_WEAK void (*VPMergeHook)(ValueProfData *,
__llvm_profile_data *) = NULL;
+COMPILER_RT_VISIBILITY
void __llvm_profile_merge_from_buffer(const char *ProfileData,
uint64_t ProfileSize) {
__llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData;