[Lldb-commits] [PATCH] D128410: [lldb] Add a testcase for nested exceptions on Windows

Martin Storsjö via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 24 13:08:47 PDT 2022


mstorsjo added a comment.

In D128410#3608190 <https://reviews.llvm.org/D128410#3608190>, @labath wrote:

> In D128410#3604927 <https://reviews.llvm.org/D128410#3604927>, @alvinhochun wrote:
>
>> It may be possible to stuff a pointer to an `EXCEPTION_RECORD` into another `EXCEPTION_RECORD` and use `RtlRaiseException` to generate the exception, but you'll have to test how it actually works.
>
> That would be pretty cool.

Yeah - I guess it's two separate kinds of testcases; this one would be more of a macro-testcase, "does this real-world case work - whichever way lldb happens to handle it" (nested exception or not?) while that would be more of a clinical unit test for specifically testing nested exceptions.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128410/new/

https://reviews.llvm.org/D128410



More information about the lldb-commits mailing list