This patch removes OutRelocations vector from the InputChunk and
directly consume Relocations vector instead. This should make the linker
faster because we don't create a temporary data structure, and it matches
the lld's design principle that we don't create temporary data structures
for object files but instead directly consume mmap'ed data whenever possible.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 15176 Build 15176: arc lint + arc unit
Event Timeline
Comment Actions
This is much better. Thank you. I particularly like the elimination of that random struct.
lld/wasm/InputChunks.h | ||
---|---|---|
54 | I guess we might as well get rid of this pair get/setters now and just expose OutputOffset. |
I guess we might as well get rid of this pair get/setters now and just expose OutputOffset.