[Lldb-commits] [lldb] [lldb][test] Add LLDB test for UBSan trap frame recognizer (PR #151231)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 30 01:27:49 PDT 2025


Michael137 wrote:

> Also surprised that we didn't have tests for this already, but I presume that's why you are contributing this now.

There are tests for the `__builtin_verbose_trap` builtin, which was the only way Clang used to emit the artificial frames for LLDB to recognize. After https://github.com/llvm/llvm-project/pull/145967 we now also emit those fake frames for `ubsan` traps. The test added here ensures the UBSAN traps get recognized by LLDB

@anthonyhatran lets put this context into the PR description

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


More information about the lldb-commits mailing list