This is an archive of the discontinued LLVM Phabricator instance.

ASan: Use `createSanitizerCtor` to create ctor, and call `__asan_init`
ClosedPublic

Authored by ismailp on Apr 1 2015, 9:48 AM.

Diff Detail

Event Timeline

ismailp updated this revision to Diff 23070.Apr 1 2015, 9:48 AM
ismailp retitled this revision from to ASan: Use `createSanitizerCtor` to create ctor, and call `__asan_init`.
ismailp updated this object.
ismailp edited the test plan for this revision. (Show Details)
ismailp added reviewers: kcc, samsonov.
ismailp added a subscriber: Unknown Object (MLST).
ismailp updated this revision to Diff 25094.May 6 2015, 3:11 PM

Updated after changes in D8777;

  • createSanitizerCtor renamed to createSanitizerCtorAndInitFunctions to match with changes in D8777
  • Added simple check to ensure ASan's ctor is added to module ctors, and __asan_init_v5 is called from ctor
samsonov accepted this revision.May 6 2015, 4:21 PM
samsonov edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 6 2015, 4:21 PM
This revision was automatically updated to reflect the committed changes.