This is an archive of the discontinued LLVM Phabricator instance.

[ASan] Reland of D116182 to always link asan_static library.
ClosedPublic

Authored by kstoimenov on Mar 24 2022, 8:43 AM.

Details

Summary

After landing D121813 the binary size increase introduced by this change can be minimized by using --gc-sections link options. D121813 allows each individual callbacks to be optimized out if not used.

Diff Detail

Event Timeline

kstoimenov created this revision.Mar 24 2022, 8:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 24 2022, 8:43 AM
Herald added a subscriber: mgorny. · View Herald Transcript
kstoimenov requested review of this revision.Mar 24 2022, 8:43 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 24 2022, 8:43 AM
Herald added subscribers: Restricted Project, cfe-commits. · View Herald Transcript
kstoimenov edited the summary of this revision. (Show Details)Mar 24 2022, 9:10 AM
kstoimenov added reviewers: vitalybuka, MaskRay.
kstoimenov edited the summary of this revision. (Show Details)Mar 24 2022, 9:12 AM
MaskRay accepted this revision.Mar 24 2022, 11:22 AM

State in the description whether this is a partial or full revert of D121405?

This revision is now accepted and ready to land.Mar 24 2022, 11:22 AM
vitalybuka accepted this revision.Mar 24 2022, 11:23 AM

State in the description whether this is a partial or full revert of D121405?

The commit message does not mention D121405.