Also extend -asan-globals-live-support flag to all binary formats.
Clang driver can use it based on things like -fno-data-sections and
-fno-integrated-as, which can make this optimization not beneficial
or even impossible.
Paths
| Differential D32062
[asan] Let the frontend disable gc-sections optimization for asan globals. ClosedPublic Authored by eugenis on Apr 13 2017, 4:46 PM.
Details
Diff Detail
Event Timelineeugenis retitled this revision from [asan] Let the frontend disable gc-sections optimization for asan globals to [asan] Extend -asan-globals-live-support flag to all binary formats. eugenis retitled this revision from [asan] Extend -asan-globals-live-support flag to all binary formats to [asan] Let the frontend disable gc-sections optimization for asan globals.. This revision is now accepted and ready to land.Apr 21 2017, 4:37 PM
Revision Contents
Diff 95243 include/llvm/Transforms/Instrumentation.h
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/global_metadata_array.ll
|