[PATCH] D38063: [MSan] Disable sanitization for __sanitizer_dtor_callback.
Evgenii Stepanov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 19 17:19:31 PDT 2017
eugenis added a comment.
A test, please.
================
Comment at: clang/lib/CodeGen/CGClass.cpp:1592
+ llvm::CallInst *I = CGF.EmitNounwindRuntimeCall(Fn, Args);
+ I->setMetadata("nosanitize", llvm::MDNode::get(CGF.getLLVMContext(),
+ llvm::None));
----------------
Use SanitizerScope.
https://reviews.llvm.org/D38063
More information about the cfe-commits
mailing list