"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "799c92bcfbbdace602e1b95077becf8039095f38"
Remove a fast lookup table from MergeInputSection.
We used to have a map from section piece offsets to section pieces as a cache for binary search. But I found that the map took quite a large amount of memory and didn't make linking faster. So, in this patch, I removed the map. This patch saves 566 MiB of RAM (2.019 GiB -> 1.453 GiB) when linking clang with debug info, and the link time is 4% faster in that test case. Thanks for Sean Silva for pointing this out. llvm-svn: 316305
Loading
Please register or sign in to comment