[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)

via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 20 20:22:28 PDT 2025


================
@@ -30,4 +30,5 @@
 #include "clang/Basic/DiagnosticAnalysisKinds.inc"
 #include "clang/Basic/DiagnosticRefactoringKinds.inc"
 #include "clang/Basic/DiagnosticInstallAPIKinds.inc"
+#include "clang/Basic/DiagnosticCodeGenKinds.inc"
----------------
Sirraide wrote:

I don’t really like the name `DiagnosticCodeGenKinds` for this since that to me suggests that we’re issuing diagnostics (to the terminal) during codegen; maybe `DiagnosticTrapKinds` or something that makes it clear that these are intended for sanitisers would be better.

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


More information about the lldb-commits mailing list