diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-10-27 13:32:32 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-10-27 13:32:32 +0000 |
commit | a8631e3887698583e5bd0f118921571dd92757b1 (patch) | |
tree | f9de4b6b03193622ce9ed2da43e5d11aeb3fe242 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ba5032c9cf876e08eb5d6eac37c34f93ba16e1b3 (diff) | |
download | bcm5719-llvm-a8631e3887698583e5bd0f118921571dd92757b1.tar.gz bcm5719-llvm-a8631e3887698583e5bd0f118921571dd92757b1.zip |
Use fewer allocators.
Instead of having 3 section allocators per file, have 3 for all files.
This is a substantial performance improvement for some cases. Linking
chromium without gc speeds up by 1.065x.
This requires using _exit in fatal since we have to avoid destructing
an InputSection if fatal is called from the constructor.
Thanks to Rui for the suggestion.
llvm-svn: 285290
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions