Re: [lldb-dev] RFC: Unwinding + Symbol Files: How To?

2019-02-08 Thread Pavel Labath via lldb-dev
Hello Jason, Greg, thank you for the feedback. Please find my responses inline. On 08/02/2019 04:06, Jason Molenda wrote: Hi Pavel, I'm open to this.  I don't think there was any specific reason why UnwindTable is in the ObjectFile over the Module - it was very likely not an intentional

Re: [lldb-dev] RFC: Unwinding + Symbol Files: How To?

2019-02-07 Thread Jason Molenda via lldb-dev
Hi Pavel, I'm open to this. I don't think there was any specific reason why UnwindTable is in the ObjectFile over the Module - it was very likely not an intentional choice when I put it there. To recap, each "binary" in the system has an UnwindTable. The UnwindTable has a list of functions it

Re: [lldb-dev] RFC: Unwinding + Symbol Files: How To?

2019-02-07 Thread Greg Clayton via lldb-dev
We also have information that is generated, like assembly unwind, ABI plug-ins (I believe) which give out the arch defaults for how to unwind at the first instruction of the function, and also one that unwinds when you are in the middle (follow the frame pointer and PC is at FP-). It would be