[Lldb-commits] [lldb] [lldb/aarch64] Fix unwinding when signal interrupts a leaf function (PR #91321)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue May 14 07:18:04 PDT 2024


labath wrote:

> Ah, so the problem here is that we're missing the eh_frame instructions for _sigtramp on arm64 with macOS 14. `signal_generating_add` is a frameless function (a great stress test in this instance), and _sigtramp is called with enough of a faked-up stack that a stack walk will find the last frame that set up a stack frame before faulting, main in this case. But we skip `signal_generating_add`. We're going to need to skip this test on macOS for now, and I'll dig in to where the eh_frame instructions went and see about getting them re-added, but it may take a while to get that into builds and on to the bots.

Makes sense. I'll leave the test XFAILed then (once the windows issue is sorted out). Thanks for looking into this, I'm glad the test proved to be useful.

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


More information about the lldb-commits mailing list