tberghammer added a comment.

Can we calculate the size of the object file based on elf headers and the 
section headers instead of using the /proc file system?

I think a good algorithm would be to take the maximum of the following 2 
expression:

  Start of section header + Number of section headers x  Size of section headers
  Max (for each section: section file address + section size)




http://reviews.llvm.org/D16107



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

Reply via email to