clayborg added a comment.

Sounds good,. So the solution will be:

- Section::GetFileSize() will return the size in bytes of the section data as 
it appears in the file
- Section::GetByteSize() will return the size in bytes for when this section is 
loaded into process memory (we might consider renaming this to "GetLoadSize()" 
then?)
- Getting section data might return more data that GetByteSize() if it needs to 
be decompressed and decompression will happen automatically

Does that sound right?


https://reviews.llvm.org/D40616



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

Reply via email to