================
Comment at: tools/clang/lib/CodeGen/CodeGenFunction.cpp:1660
@@ +1659,3 @@
+ I->setMetadata(
+ CGM.getModule().getMDKindID("ubsan"),
+ llvm::MDNode::get(CGM.getLLVMContext(), ArrayRef<llvm::Value *>()));
----------------
Alexey Samsonov wrote:
> Richard Smith wrote:
> > It seems more future-safe to pick a more general name for this, describing
> > its functionality not this particular use case. Maybe `"nosanitize"`?
> Sounds good.
Done.
http://reviews.llvm.org/D4544
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits