labath added inline comments.

================
Comment at: lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:814
 
           value = value - header->p_vaddr;
           found_offset = true;
----------------
Ok so the issue is that here we use the virtual address to compute the load 
bias, but at line 830 we add the bias to the physical address. This breaks as 
soon as these two addresses start to differ.

Changing this to use the physical address as well fixes things, but as I said 
before, I'm not sure we should be using physical addresses here.


Repository:
  rL LLVM

https://reviews.llvm.org/D42145



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to