Re: [lldb-dev] issue with StackFrame::GetSymbolContext

2019-07-12 Thread Jim Ingham via lldb-dev
A "raw image" is one that loads all the code at some address and doesn't have a dynamic loading mechanism. So it really just means "a binary that doesn't use a dynamic loader." I'm not sure why it was called "Strata"... But the Strata is used to disambiguate cases where the object file format

Re: [lldb-dev] issue with StackFrame::GetSymbolContext

2019-07-12 Thread Romaric Jodin via lldb-dev
Thanks Jim, it helped a lot. But it bings other questions. I managed to get the symbol by forcing the use of the DynamicLoaderStatic, which is use only if the Strata is set to "eStrataRawImage". What is "Strata" ? Why is the Static DynamicLoader only use with the eStrataRawImage? Right now, I don'

Re: [lldb-dev] issue with StackFrame::GetSymbolContext

2019-07-09 Thread Jim Ingham via lldb-dev
It looks like you don't have a DynamicLoader plugin that tells lldb where your binaries ended up in memory when the process ran. The [ADDRESS] means we are reading instructions from memory not from the on-disk binary. Jim > On Jul 9, 2019, at 2:14 AM, Romaric Jodin via lldb-dev > wrote: >

[lldb-dev] issue with StackFrame::GetSymbolContext

2019-07-09 Thread Romaric Jodin via lldb-dev
HI everyone, I'm adding my architecture into lldb. I'm having some trouble with the debug information on the stack frame. LLDB is never displaying any source code. It seems that we I get in "StackFrame::GetSymbolContext" "m_flags" is always set to "0x" but my "m_sc" does not contains the i