[clang] [cfi] Enable -fsanitize-annotate-debug-info functionality for CFI checks (PR #139809)

Thurston Dang via cfe-commits cfe-commits at lists.llvm.org
Tue May 13 16:59:51 PDT 2025


================
@@ -89,7 +89,7 @@ double f1(int b, int i) {
 // CHECK-TRAP: [[DBG21]] = !DILocation(line: 65, column: 3, scope: [[DBG4]])
 // CHECK-TRAP: [[DBG22]] = !DILocation(line: 66, column: 12, scope: [[DBG4]])
 // CHECK-TRAP: [[DBG23]] = !DILocation(line: 0, scope: [[META24:![0-9]+]], inlinedAt: [[DBG26]])
-// CHECK-TRAP: [[META24]] = distinct !DISubprogram(name: "__ubsan_check_array_bounds", scope: [[META5]], file: [[META5]], type: [[META25:![0-9]+]], flags: DIFlagArtificial, spFlags: DISPFlagDefinition, unit: [[META0]])
+// CHECK-TRAP: [[META24]] = distinct !DISubprogram(name: "__ubsan_check_array-bounds", scope: [[META5]], file: [[META5]], type: [[META25:![0-9]+]], flags: DIFlagArtificial, spFlags: DISPFlagDefinition, unit: [[META0]])
----------------
thurstond wrote:

StringSanitizer added in https://github.com/llvm/llvm-project/pull/139809/commits/dfc3919acb799b7ebb0b99f7003b3cd6097d8ea7

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


More information about the cfe-commits mailing list