This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Add -fno-sanitize-address-globals-dead-stripping
ClosedPublic

Authored by MaskRay on Feb 23 2022, 12:14 AM.

Details

Summary

It's customary for these options to have the -fno- form which is sometimes
handy to work around issues. Using the supported driver option is preferred over
the internal cl::opt option -mllvm -asan-globals-live-support=0

Diff Detail

Event Timeline

MaskRay created this revision.Feb 23 2022, 12:14 AM
MaskRay requested review of this revision.Feb 23 2022, 12:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 23 2022, 12:14 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
kstoimenov accepted this revision.Feb 23 2022, 9:54 AM

LGTM. But please wait for LTGM from vitalybuka@. Also there is internal asan-globals-live-support flag if you need it before this one lands.

This revision is now accepted and ready to land.Feb 23 2022, 9:54 AM
vitalybuka accepted this revision.Feb 23 2022, 11:36 AM
MaskRay edited the summary of this revision. (Show Details)Feb 23 2022, 11:48 AM
This revision was landed with ongoing or failed builds.Feb 23 2022, 11:51 AM
This revision was automatically updated to reflect the committed changes.