I found this bug from a year ago ( https://llvm.org/bugs/show_bug.cgi?id=17384) that explains everything.
Greg, ObjectFileELF::CreateMemoryInstance is no longer just a stub. Do you know if linux-gate.so is read but not parsed, or still not read at all? On Wed, Mar 11, 2015 at 12:47 PM, Greg Clayton <gclay...@apple.com> wrote: > > > On Mar 11, 2015, at 11:09 AM, Chaoren Lin <chaor...@google.com> wrote: > > > > The problem is not the __read function, but a subroutine that the __read > function calls. GDB shows it as __kernel_vsyscall, but LLDB doesn't have a > name for it, I don't think LLDB even considers it a function. > > We need to modify the ObjectFileELF::ParseSymtab() to then create > synthetic symbols for these things. You will need to dig around in the ELF > spec and figure out how to reconstruct symbols for such things. If you do > this, then everything should work. The ObjectFileMachO pulls all sorts of > tricks to make sure that we create functions for everything the object file > knows about and should be considered as a block of code and ObjectFileELF > should do the same. > > Greg > > >
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev