[lldb-dev] breakpoint command
mikesart at valvesoftware.com
Tue Jul 2 18:52:19 PDT 2013
On Tue, Jul 2, 2013 at 11:20 AM, Greg Clayton <gclayton at apple.com> wrote:
> That sounds fine to me. Since the symbol's start address is already in
> section/offset format, it will be a really quick lookup within the module
> itself to resolve the function.
Something like the below look ok?
const Address &base_address = m_addr_range.GetBaseAddress();
Function *function =
// Functions have line entries which can also potentially
have end of prologue information.
// So if this symbol points to a function, use the prologue
information from there.
m_type_data = function->GetPrologueByteSize();
... do regular symbol prologue calculations ...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev