================
@@ -6642,8 +6650,11 @@ llvm::DILocation
*CodeGenFunction::SanitizerAnnotateDebugInfo(
else
Label = SanitizerHandlerToCheckLabel(Handler);
- if (any_of(Ordinals, [&](auto Ord) { return AnnotateDebugInfo.has(Ord); }))
- return DI->CreateSyntheticInlineAt(CheckDebugLoc, Label);
+ if (any_of(Ordinals, [&](auto Ord) { return AnnotateDebugInfo.has(Ord); })) {
+ llvm::DIFile *File = llvm::DIFile::get(CGM.getLLVMContext(),
----------------
fmayer wrote:
add a comment to explain. also please annotate what the "sanitizer" argument is
https://github.com/llvm/llvm-project/pull/171929
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits