[PATCH] D56470: [NewPM] Second attempt at porting ASan
Philip Pfaffe via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 23 03:19:52 PST 2019
philip.pfaffe added a comment.
One thing I missed.
================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:1056
+
+ if (LangOpts.Sanitize.has(SanitizerKind::Address)) {
+ bool Recover = CodeGenOpts.SanitizeRecover.has(SanitizerKind::Address);
----------------
This is wrong. Check out how this is done for the other sanitizers above! On top of what's happening there, you'll also have to add a requires wrapper for the GlobalsMD analysis at the last module EP before asan is scheduled.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56470/new/
https://reviews.llvm.org/D56470
More information about the llvm-commits
mailing list