Ensure _LLVMFuzzerInitialize is always exported and marked used on Mac.
The linker's -dead_strip was removing the fuzzer initializer because it was unreachable and not exported. This adds a new libfuzzer_exports.h header that fuzzers can include to ensure the symbols have the proper visibility. Bug: 687076 Change-Id: I8fe5c523ade491a48cd7abbf85c69edb872c97db Reviewed-on: https://chromium-review.googlesource.com/721340Reviewed-by:Varun Khaneja <vakh@chromium.org> Reviewed-by:
Max Moroz <mmoroz@chromium.org> Commit-Queue: Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#509558}
Showing
Please register or sign in to comment