[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:14:18 PDT 2025
================
@@ -17,8 +18,11 @@ void bar(volatile int a) __attribute__((optnone)) {
}
// With optimisations enabled the traps are merged and need to share a debug location
-// CHECK: [[LOC]] = !DILocation(line: 0
+// CHECK: [[LOC]] = !DILocation(line: 0,
----------------
anthonyhatran wrote:
Removed comma
https://github.com/llvm/llvm-project/pull/145967
More information about the cfe-commits
mailing list