> 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

Reply via email to