Reland "Migrate to -fsanitize=fuzzer-no-link when use_fuzzing_engine=true".
-fsanitize=fuzzer and -fsanitize=fuzzer-no-link are two compilation flags that enable coverage instrumentation needed for libFuzzer. The instrumentation has more stuff under the hood compared to -fsanitize=trace-pc-guard. Also, it can be changing over time without a need to update GN flags again and again (e.g. move from edge to trace-pc-guard or something like that). Bug: 764514 Change-Id: I53bf5a3355335f4f627e9024b7ed7fe601c9ecfd > Revert "Migrate to -fsanitize=fuzzer-no-link when use_fuzzing_engine=true." > > This reverts commit c1406d52. > > Reason for revert: The builds are failing on linking of some fuzzers: https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.fyi%2FLibfuzzer_Upload_Linux_ASan%2F7088%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout > > Original change's description: > > Migrate to -fsanitize=fuzzer-no-link when use_fuzzing_engine=true. > > > > -fsanitize=fuzzer and -fsanitize=fuzzer-no-link are two compilation > > flags that enable coverage instrumentation needed for libFuzzer. > > > > The instrumentation has more stuff under the hood compared to > > -fsanitize=trace-pc-guard. Also, it can be changing over time > > without a need to update GN flags again and again (e.g. move from > > edge to trace-pc-guard or something like that). > > > > Bug: 764514 > > Change-Id: I48ef328dee49a9620a1b44bd5cd920f116e1bc1b > > Reviewed-on: https://chromium-review.googlesource.com/802395 > > Commit-Queue: Max Moroz <mmoroz@chromium.org> > > Reviewed-by: Oliver Chang <ochang@chromium.org> > > Reviewed-by: Dirk Pranke <dpranke@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#522505} Change-Id: I53bf5a3355335f4f627e9024b7ed7fe601c9ecfd Reviewed-on: https://chromium-review.googlesource.com/846100Reviewed-by:Dirk Pranke <dpranke@chromium.org> Commit-Queue: Max Moroz <mmoroz@chromium.org> Cr-Commit-Position: refs/heads/master@{#526592}
Showing
Please register or sign in to comment