[Lldb-commits] [PATCH] D40616: ObjectFileELF: Add support for compressed sections
Greg Clayton via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 12 08:09:44 PST 2017
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
More information about the lldb-commits
mailing list