forked from OSchip/llvm-project
[libFuzzer] add more __attribute__((visibility("default")))
llvm-svn: 279143
This commit is contained in:
parent
763c59dc9a
commit
32661f9d66
|
@ -37,11 +37,13 @@ static void HandlePC(uint32_t PC) {
|
|||
} // namespace fuzzer
|
||||
|
||||
extern "C" {
|
||||
__attribute__((visibility("default")))
|
||||
void __sanitizer_cov_trace_pc() {
|
||||
fuzzer::HandlePC(static_cast<uint32_t>(
|
||||
reinterpret_cast<uintptr_t>(__builtin_return_address(0))));
|
||||
}
|
||||
|
||||
__attribute__((visibility("default")))
|
||||
void __sanitizer_cov_trace_pc_indir(int *) {
|
||||
// Stub to allow linking with code built with
|
||||
// -fsanitize=indirect-calls,trace-pc.
|
||||
|
|
Loading…
Reference in New Issue