[PATCH] D56470: [NewPM] Second attempt at porting ASan
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 13 14:19:05 PST 2019
leonardchan added inline comments.
================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:922
+void EmitAssemblyHelper::addSanitizersAtO0(ModulePassManager &MPM) {
+ if (LangOpts.Sanitize.has(SanitizerKind::Address)) {
----------------
philip.pfaffe wrote:
> Could this be a free function?
Yes, although the sanitizer depends on a few things provided by the `EmitAssemblyHelper`, so those will have to be passed as arguments.
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