projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a49a9a
)
[libFuzzer] Marking exported symbols as visible. Patch by Mike Aizatsky
author
Kostya Serebryany
<kcc@google.com>
Wed, 30 Sep 2015 22:22:37 +0000
(22:22 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Wed, 30 Sep 2015 22:22:37 +0000
(22:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248954
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Fuzzer/FuzzerTraceState.cpp
patch
|
blob
|
history
diff --git
a/lib/Fuzzer/FuzzerTraceState.cpp
b/lib/Fuzzer/FuzzerTraceState.cpp
index a3934c14365903fbf56475a33ca4b48e9f5babff..80dd6bc8c41fbb48ed809a015716aeda7996d29b 100644
(file)
--- a/
lib/Fuzzer/FuzzerTraceState.cpp
+++ b/
lib/Fuzzer/FuzzerTraceState.cpp
@@
-499,7
+499,7
@@
void __sanitizer_weak_hook_strcmp(void *caller_pc, const char *s1,
TS->TraceCmpCallback(PC, N, fuzzer::ICMP_EQ, S1, S2);
}
-
+__attribute__((visibility("default")))
void __sanitizer_cov_trace_cmp(uint64_t SizeAndType, uint64_t Arg1,
uint64_t Arg2) {
if (!TS) return;
@@
-509,6
+509,7
@@
void __sanitizer_cov_trace_cmp(uint64_t SizeAndType, uint64_t Arg1,
TS->TraceCmpCallback(PC, CmpSize, Type, Arg1, Arg2);
}
+__attribute__((visibility("default")))
void __sanitizer_cov_trace_switch(uint64_t Val, uint64_t *Cases) {
if (!TS) return;
uintptr_t PC = reinterpret_cast<uintptr_t>(__builtin_return_address(0));