DescriptionEnable ASan default options on Mac.
This CL links libsanitizer_options into every executable built with ASan on OSX.
The existing implementation of __asan_default_options for Chromium.app is merged with that in sanitizer_options.cc
Also now use_sanitizer_options is only set when building with sanitizers so that there isn't an unconditional dependency on an empty object file in every executable in non-sanitizer builds.
BUG=302040
R=cpu@chromium.org
Committed: https://crrev.com/0640a5d19ef72aec62787423e8a7c78c4f62b955
Cr-Commit-Position: refs/heads/master@{#295958}
Patch Set 1 #Patch Set 2 : More strict condition #Patch Set 3 : Fix chromeos compile #Patch Set 4 : Moved the dependency to target_defaults #
Messages
Total messages: 11 (3 generated)
|