This revision was automatically updated to reflect the committed changes.
Closed by commit rGe4e6c6510b18: [IR] Adds Instruction::setNoSanitizeMetadata()
(authored by Enna1).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150632/new/
https://reviews.
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
LGTM.
Comment at: llvm/include/llvm/IR/Instruction.h:353
+ /// Sets the nosanitize metadata on this instruction.
+ void setNoSanitizeMetadata();
`Set`.
Enna1 updated this revision to Diff 522884.
Enna1 added a comment.
address review comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150632/new/
https://reviews.llvm.org/D150632
Files:
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGe
nickdesaulniers added inline comments.
Comment at: clang/lib/CodeGen/SanitizerMetadata.cpp:105-107
void SanitizerMetadata::disableSanitizerForInstruction(llvm::Instruction *I) {
- I->setMetadata(llvm::LLVMContext::MD_nosanitize,
- llvm::MDNode::get(CGM.getLLVMCo
Enna1 created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Enna1 edited the summary of this revision.
Enna1 updated this revision to Diff 522422.
Enna1 added a comment.
Enna1 added reviewers: nickdesaulniers, MaskRay, vitalybuka.
Enna1 added a subscriber: MTC.
E