[fuzzer] Add attributes to LLVMFuzzerInitialize definition
That prevents the linker from dead-stripping the function, as it is not called directly, it is resolved in the runtime via dlsym(). I copied the change from https://crrev.com/c/833995 R=mmoroz@chromium.org Bug: 837098 Change-Id: I998517ebab623e67d275fe656643a8ee5fd1e951 Reviewed-on: https://chromium-review.googlesource.com/1148391Reviewed-by:Max Moroz <mmoroz@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#577532}
Showing
Please register or sign in to comment