commit | e0980670a3749eaa6f23c26217559046d8fd58b9 | [log] [tgz] |
---|---|---|
author | morehouse <morehouse> | Mon Sep 17 23:08:15 2018 +0000 |
committer | morehouse <morehouse> | Mon Sep 17 23:08:15 2018 +0000 |
tree | 2d1bce01a38c75f8ed1cdc2b969bafcb690a0570 | |
parent | a2d200e6a586f6e291572aafae08e49c71166a5a [diff] [blame] |
[libFuzzer] Avoid fuzzer symbols being hidden. Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1490845#c5. Patch By: Mike Hommey git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/fuzzer@342423 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/FuzzerExtFunctionsWeak.cpp b/FuzzerExtFunctionsWeak.cpp index a4e56fc..6a6ef49 100644 --- a/FuzzerExtFunctionsWeak.cpp +++ b/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"