[Lldb-commits] [clang] [lldb] [UBSan][BoundsSafety] Implement support for more expressive "trap reasons" (PR #154618)
Dan Liew via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 22 14:48:01 PDT 2025
delcypher wrote:
@Sirraide @ilovepi I've changed the implementation to use a `TrapReason` object to store the trap message and category. This allows cleaning up the `TrapDiagnosticBuilder` API (maybe it should be called `TrapReasonBuilder` now?) so it's much more similar to the `DiagnosticBuilder` and much less of a foot-gun.
Let me know what you think.
https://github.com/llvm/llvm-project/pull/154618
More information about the lldb-commits
mailing list