diff options
author | Matt Morehouse <mascasa@google.com> | 2018-09-17 23:08:15 +0000 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2018-09-17 23:08:15 +0000 |
commit | 1e1f3c8298d2992b0157f60fcd5c44a5ec13b446 (patch) | |
tree | aa99c282baa195929a0085b8a7bbdc4ec4e82146 /compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp | |
parent | a782a70ad92f410255fbbe8091da8362966a9221 (diff) | |
download | bcm5719-llvm-1e1f3c8298d2992b0157f60fcd5c44a5ec13b446.tar.gz bcm5719-llvm-1e1f3c8298d2992b0157f60fcd5c44a5ec13b446.zip |
[libFuzzer] Avoid fuzzer symbols being hidden.
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1490845#c5.
Patch By: Mike Hommey
llvm-svn: 342423
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp')
-rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp b/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp index a4e56fc27b8..6a6ef4932f4 100644 --- a/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp +++ b/compiler-rt/lib/fuzzer/FuzzerExtFunctionsWeak.cpp @@ -22,7 +22,7 @@ extern "C" { // Declare these symbols as weak to allow them to be optionally defined. #define EXT_FUNC(NAME, RETURN_TYPE, FUNC_SIG, WARN) \ - __attribute__((weak)) RETURN_TYPE NAME FUNC_SIG + __attribute__((weak, visibility("default"))) RETURN_TYPE NAME FUNC_SIG #include "FuzzerExtFunctions.def" |