[lldb-dev] Inquiry about Load Address

Ravitheja Addepally via lldb-dev lldb-dev at lists.llvm.org
Tue Mar 8 04:53:49 PST 2016


Ok, I am currently in the process of developing Intel Processor trace
support for LLDB , I need the virtual address mappings for the Elf's for
decoding the trace data. I will check if SBSection.GetSectionData will work
or not , Thanks for the info.

On Tue, Mar 8, 2016 at 12:11 PM, Pavel Labath <labath at google.com> wrote:

> Hi,
>
> could you give us a bit more background about what are you trying to
> do? It's hard to answer the question without knowing a bit more...
>
> On 8 March 2016 at 10:42, Ravitheja Addepally via lldb-dev
> <lldb-dev at lists.llvm.org> wrote:
> > Hello,
> >       I wanted to know if there is any existing API or a set of API's
> that
> > could be used to retrieve the load addresses of the Modules ?
>
> There is a GetLoadAddress function on SBSection
> <http://lldb.llvm.org/cpp_reference/html/classlldb_1_1SBSection.html>.
> I don't see one on SBModule though. What do you need this for?
>
> > secondly Can
> > we obtain the dumps of the loaded Elf 's like in the remote case
> > transporting them from the target to the host ?
> >
>
> What kind of "dumps" are you looking for? Will
> SBSection.GetSectionData() work? A lot of other data is available in
> the other SB classes, but it's hard to answer this without knowing
> what exactly you are looking for.
>
> pl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160308/da95642c/attachment.html>


More information about the lldb-dev mailing list