https://github.com/shafik commented:
Next time can you add more details to the summary, these are especially helpful
for downstream folks but also for reviewers. Something along the lines of
"Perform a null check in SanitizerAnnotateDebugInfo for the result of
getCurrentDebugLocation".
https:
@@ -6480,20 +6480,23 @@
SanitizerOrdinalToCheckLabel(SanitizerKind::SanitizerOrdinal Ordinal) {
llvm::DILocation *CodeGenFunction::SanitizerAnnotateDebugInfo(
ArrayRef Ordinals,
SanitizerHandler Handler) {
+ llvm::DILocation *CheckDI = Builder.getCurrentDebugLocation(
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Florian Mayer (fmayer)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/149237.diff
2 Files Affected:
- (modified) clang/lib/CodeGen/CGDebugInfo.cpp (+6-3)
- (added) clang/test/CodeGen/null-sanitizer-debug-info
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Florian Mayer (fmayer)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/149237.diff
2 Files Affected:
- (modified) clang/lib/CodeGen/CGDebugInfo.cpp (+6-3)
- (added) clang/test/CodeGen/null-sanitizer-debug-info-regress
https://github.com/fmayer ready_for_review
https://github.com/llvm/llvm-project/pull/149237
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fmayer created
https://github.com/llvm/llvm-project/pull/149237
None
>From 6324602575fc5310b5ff49bfcb985d531035811b Mon Sep 17 00:00:00 2001
From: Florian Mayer
Date: Wed, 16 Jul 2025 20:00:45 -0700
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=