diff options
author | Rui Ueyama <ruiu@google.com> | 2018-02-20 04:26:26 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-02-20 04:26:26 +0000 |
commit | bf450d905deab93377c68ba796d8c9744fed8861 (patch) | |
tree | 21c42a324b39b13956154f7244e33206525a8fcd /llvm/lib/Support/StringMap.cpp | |
parent | 41f64c3204e90b8d82ea06804f954e6624635ae1 (diff) | |
download | bcm5719-llvm-bf450d905deab93377c68ba796d8c9744fed8861.tar.gz bcm5719-llvm-bf450d905deab93377c68ba796d8c9744fed8861.zip |
Do not create a temporary data structure for relocations.
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.
Differential Revision: https://reviews.llvm.org/D43491
llvm-svn: 325549
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions