[PATCH] D64462: [ADT] [WIP] Add MutableRange class
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 09:28:30 PDT 2019
jhenderson added a comment.
> Using a overlay data structure for section header table is not necessary. There are not many sections.
Not true: llvm-objcopy can be easily used on object files, which can have tens of thousands of sections, possibly more, in real-world cases that I work with, due to -ffunction-sections/-fdata-sections, COMDATs etc. Symbols are also sometimes in the order of hundreds of thousands at least, especially in linked applications. In other words, we need to be careful about the performance trade-offs we make (though linear is probably fine if anything simpler is more complex).
I'll come back to this tomorrow. Ran out of time to look more today.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64462/new/
https://reviews.llvm.org/D64462
More information about the llvm-commits
mailing list