[clang] [Clang][CodeGen] Emit “trap reasons” on UBSan traps (PR #145967)
Anthony Tran via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 11 01:22:58 PDT 2025
================
@@ -68,9 +68,9 @@ double f1(int b, int i) {
//.
// CHECK-TRAP: [[META0:![0-9]+]] = distinct !DICompileUnit(language: DW_LANG_C11, file: [[META1:![0-9]+]], isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None)
-// CHECK-TRAP: [[META1]] = !DIFile(filename: "<stdin>", directory: {{.*}})
+// CHECK-TRAP: [[META1]] = !DIFile(filename: "{{.*}}<stdin>", directory: {{.*}})
----------------
anthonyhatran wrote:
Removed, not needed.
https://github.com/llvm/llvm-project/pull/145967
More information about the cfe-commits
mailing list