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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to