[PATCH] D67954: [LLDB] [Windows] Initial support for ARM64 register contexts

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 01:51:06 PDT 2019


labath accepted this revision.
labath added a reviewer: mgorny.
labath added a comment.
This revision is now accepted and ready to land.

Thank you _very_ much for those tests. + at mgorny, in case he has any comments on those.

In D67954#1707292 <https://reviews.llvm.org/D67954#1707292>, @mstorsjo wrote:

> The tests pass both with and without use of lldb-server. However, when using lldb-server with NativeRegisterContext, while the register values are correct, I don't get a correct working backtrace with it. Without lldb-server, I get a perfect backtrace. (The tested binary uses SEH unwind tables, but DWARF debug info.) Any clues about what might be going wrong there?


Hard to say off-hand, but the first thing I'd check is whether the information about loaded modules and their addresses is making its way into lldb. You can use the "image list" command to inspect that. Then there's the "image show-unwind" command which can show you how lldb will try to unwind for a given function/address. Also, if you enable the "unwind" log channel (log enable lldb unwind), you'll get a trace of what lldb did while attempting to unwind.


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

https://reviews.llvm.org/D67954





More information about the llvm-commits mailing list