summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-10-22 23:02:07 +0000
committerRui Ueyama <ruiu@google.com>2017-10-22 23:02:07 +0000
commitd96724db42c04af11d0ff1f8a57d36cb8284752b (patch)
tree475ac159f2f2a5660d8978e49b4f07ab4288695f /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parent39ff4010261d4a989a2c18612c5b99845e1f1923 (diff)
downloadbcm5719-llvm-d96724db42c04af11d0ff1f8a57d36cb8284752b.tar.gz
bcm5719-llvm-d96724db42c04af11d0ff1f8a57d36cb8284752b.zip
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud