[clang] [compiler-rt] [clang][DebugInfo] Add inlined subprogram metadata for compiler built-ins (PR #189969)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Mon May 18 00:49:13 PDT 2026


================
@@ -23,12 +23,12 @@ int test_function() {
 // CHECK: Initial test OK
 
   memset(buff, 'c', 6);
-// CHECK: AddressSanitizer: stack-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
-// CHECK: WRITE of size 6 at [[ADDR]] thread T0
-// CHECK-NEXT:  __asan_memset
-// CHECK-NEXT:  test_function {{.*}}dll_intercept_memset.cpp:[[@LINE-4]]
-// CHECK: Address [[ADDR]] is located in stack of thread T0 at offset {{.*}} in frame
-// CHECK-NEXT:  test_function {{.*}}dll_intercept_memset.cpp
-// CHECK: 'buff'{{.*}} <== Memory access at offset {{.*}} overflows this variable
+  // CHECK: AddressSanitizer: stack-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
+  // CHECK: WRITE of size 6 at [[ADDR]] thread T0
+  // CHECK-NEXT:  __asan_memset
+  // CHECK-NEXT:  test_function {{.*}}dll_intercept_memset.cpp:[[@LINE-7]]
+  // CHECK: Address [[ADDR]] is located in stack of thread T0 at offset {{.*}} in frame
+  // CHECK-NEXT:  test_function {{.*}}dll_intercept_memset.cpp
+  // CHECK: 'buff'{{.*}} <== Memory access at offset {{.*}} overflows this variable
----------------
OCHyams wrote:

Yeah I meant the indentation. Ah right, that's probably fine then (no action needed)

https://github.com/llvm/llvm-project/pull/189969


More information about the llvm-commits mailing list