Inline MergeInputSection::getData().
authorRui Ueyama <ruiu@google.com>
Tue, 6 Dec 2016 02:19:30 +0000 (02:19 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 6 Dec 2016 02:19:30 +0000 (02:19 +0000)
commitc8e6884871ed43c4f403e634e7b1aac0829bac26
tree66a8af1f9466e418136091f79019fef105291e47
parenta7f30b1af127dbbd95a33518437fd36a8bb07796
Inline MergeInputSection::getData().

This change seems to make LLD 0.6% faster when linking Clang with
debug info. I don't want us to have lots of local optimizations,
but this function is very hot, and the improvement is small but
not negligible, so I think it's worth doing.

llvm-svn: 288757
lld/ELF/InputSection.cpp
lld/ELF/InputSection.h