This is an archive of the discontinued LLVM Phabricator instance.

[MSan] Add flag to disable use-after-dtor.
ClosedPublic

Authored by morehouse on Sep 14 2017, 2:24 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

morehouse created this revision.Sep 14 2017, 2:24 PM
morehouse updated this revision to Diff 115295.Sep 14 2017, 2:44 PM
  • Use hasFlag() in CompilerInvocation.cpp as well.
vitalybuka accepted this revision.Sep 14 2017, 3:34 PM
vitalybuka added inline comments.
clang/lib/Driver/SanitizerArgs.cpp
494 ↗(On Diff #115295)

false -> MsanUseAfterDtor

This revision is now accepted and ready to land.Sep 14 2017, 3:34 PM
eugenis edited edge metadata.Sep 14 2017, 3:35 PM

Have you looked at performance?

Have you looked at performance?

Not the answer to your question, but this patch just adds negative flag without changing defaults.

eugenis accepted this revision.Sep 14 2017, 3:40 PM

Oh right, I was looking at D37860.

This revision was automatically updated to reflect the committed changes.