This is an archive of the discontinued LLVM Phabricator instance.

MSan: Use `createSanitizerCtor` to create ctor, and call `__msan_init`
ClosedPublic

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

Diff Detail

Event Timeline

ismailp updated this revision to Diff 23073.Apr 1 2015, 9:55 AM
ismailp retitled this revision from to MSan: Use `createSanitizerCtor` to create ctor, and call `__msan_init`.
ismailp updated this object.
ismailp edited the test plan for this revision. (Show Details)
ismailp added reviewers: kcc, eugenis.
ismailp added a subscriber: Unknown Object (MLST).
ismailp updated this revision to Diff 25235.May 7 2015, 2:16 PM
  • createSanitizerCtor renamed to createSanitizerCtorAndInitFunctions to match with changes in D8777
  • Added simple check to ensure MSan's ctor is added to module ctors, and __msan_init is called from ctor
samsonov accepted this revision.May 7 2015, 2:33 PM
samsonov added a reviewer: samsonov.
samsonov added a subscriber: samsonov.

LGTM

test/Instrumentation/MemorySanitizer/msan_basic.ll
881 ↗(On Diff #25235)

CHECK-LABEL

This revision is now accepted and ready to land.May 7 2015, 2:33 PM
This revision was automatically updated to reflect the committed changes.