mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 10:04:33 +00:00
[libFuzzer] Marking exported symbols as visible. Patch by Mike Aizatsky
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248954 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5a49a9aeba
commit
22e2376e14
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user