Reduce the number of allocators.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 26 Oct 2016 15:34:24 +0000 (15:34 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 26 Oct 2016 15:34:24 +0000 (15:34 +0000)
commit5da1d88492e2487b67c3cf79031b8e273bd6fb35
treef5099035219190e0e55c91c295d8a79fd0b924d6
parent81e8b771d72d23a513d3acde43d1396d435e9b26
Reduce the number of allocators.

We used to have one allocator per file, which reduces the advantage of
using an allocator in the first place.

This is a small speed up is most cases. The largest speedup was in
1.014X in chromium no-gc. The largest slowdown was scylla at 1.003X.

llvm-svn: 285205
lld/ELF/Driver.cpp
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
lld/ELF/LTO.cpp
lld/ELF/LTO.h
lld/ELF/SymbolTable.cpp
lld/ELF/Symbols.cpp
lld/ELF/Symbols.h