[Lldb-commits] [PATCH] D64993: Fix PC adjustment in StackFrame::GetSymbolContext

Joseph Tremoulet via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 31 12:46:23 PDT 2019


JosephTremoulet added a comment.

In D64993#1608452 <https://reviews.llvm.org/D64993#1608452>, @labath wrote:

> I haven't looked at the implementation, but I did run into the problem you are fixing in the past, and I am happy that someone is finally implementing this. I just wanted to say that for testing, I think you should be able to create some hand-written assembly that creates the kind of stack frames and unwind info you need to trigger this. You can look at existing tests in `lldb/lit/Unwind` for examples.


Thanks for the tip!  I was indeed able to copy one of those and adapt it to test this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64993





More information about the lldb-commits mailing list