This is an archive of the discontinued LLVM Phabricator instance.

[MSan] Disable sanitization for __sanitizer_dtor_callback.
ClosedPublic

Authored by morehouse on Sep 19 2017, 4:55 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

morehouse created this revision.Sep 19 2017, 4:55 PM
eugenis edited edge metadata.Sep 19 2017, 5:14 PM

A test, please.

clang/lib/CodeGen/CGClass.cpp
1592 ↗(On Diff #115929)

Use SanitizerScope.

morehouse updated this revision to Diff 116072.Sep 20 2017, 2:21 PM
  • Add test case.
  • Use SanitizerScope.
morehouse marked an inline comment as done.Sep 20 2017, 2:22 PM
vitalybuka added a subscriber: vitalybuka.
eugenis accepted this revision.Sep 20 2017, 3:09 PM

Please also add a tiny LLVM test that call instructions with nosanitize metadata are not instrumented.

This revision is now accepted and ready to land.Sep 20 2017, 3:09 PM
morehouse updated this revision to Diff 116100.Sep 20 2017, 3:44 PM
  • Add LLVM test.
This revision was automatically updated to reflect the committed changes.