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 <lab...@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@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 >
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev