This doesn't yet implement inspecting the .pdata/.xdata to find the LSDA pointer (in UnwindCursor::getInfoFromSEH), but normal C++ exception handling seems to run just fine without it. (The only place I can see where it's even referenced is in unwind_phase2_forced, and I can't find a codepath where libcxxabi would end up calling that.)
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM, but I'd feel better if someone else signed off on this, too.
src/Unwind-seh.cpp | ||
---|---|---|
175–176 | This looks suspicious for AArch64... I guess the values for UNW_ARM_R0 and UNW_ARM64_X0 are the same. |
src/Unwind-seh.cpp | ||
---|---|---|
175–176 | Oh, good catch. Yes, they have the same values, but I shouldn't (and didn't intend to) rely on that. |
This looks suspicious for AArch64... I guess the values for UNW_ARM_R0 and UNW_ARM64_X0 are the same.