This is an archive of the discontinued LLVM Phabricator instance.

[ASan] Separate Initialization from AddressSanitizer Constructor
AbandonedPublic

Authored by leonardchan on Oct 25 2018, 11:58 PM.

Details

Reviewers
None
Summary

The AddressSanitizer initialization occurs on construction when it doesn't need to be initialized every time. The same sanitizer object can be used multiple times and initialized once. This makes AddressSanitizer a member of AddressSanitizerLegacyPass so the initialization only needs to be called once instead of on every function run.

Diff Detail

Repository
rL LLVM

Event Timeline

leonardchan created this revision.Oct 25 2018, 11:58 PM
jgorbe added a subscriber: jgorbe.Oct 26 2018, 10:17 AM
leonardchan abandoned this revision.Feb 19 2019, 6:47 PM

Addressed in rC353985

Herald added a project: Restricted Project. · View Herald TranscriptFeb 19 2019, 6:47 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript