[clang] [Sanitizer] remove array-bounds-pseudofn (PR #149430)
Florian Mayer via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 18 12:22:08 PDT 2025
================
@@ -6482,7 +6475,11 @@ llvm::DILocation *CodeGenFunction::SanitizerAnnotateDebugInfo(
SanitizerHandler Handler) {
llvm::DILocation *CheckDebugLoc = Builder.getCurrentDebugLocation();
auto *DI = getDebugInfo();
- if (!DI)
+ if (!DI || !CheckDebugLoc)
+ return CheckDebugLoc;
----------------
fmayer wrote:
We need to check it somewhere?
https://github.com/llvm/llvm-project/pull/149430
More information about the cfe-commits
mailing list