summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-04-29 16:12:29 +0000
committerRui Ueyama <ruiu@google.com>2016-04-29 16:12:29 +0000
commitfb6d499ed7d74a49203a43b11bc6e6ba5902c87b (patch)
treea1a7f3a4429ac2de5588a911f6e2323bd7eacaad /llvm/lib/Target
parent0ccbfa3b4477d0b48fa17128c0528f263908151e (diff)
downloadbcm5719-llvm-fb6d499ed7d74a49203a43b11bc6e6ba5902c87b.tar.gz
bcm5719-llvm-fb6d499ed7d74a49203a43b11bc6e6ba5902c87b.zip
ELF: Add -O0 (produce output as fast as possible) mode.
This patch redefines the default optimization level as 1 and adds new level 0. In the command line, it is -O0. The flag disables costly but optional features so that the linker produces semantically correct but larger output quickly. Currently it only disables section merging. This flag is not intended to be used for final production linking. It is intended to be used in compile-link-test cycle. Time to link clang with debug info is about 2x faster with the flag. Head: 13.24 seconds Output size: 1227189664 bytes With this patch: 7.41 seconds Output size: 2490281784 bytes Differential Revision: http://reviews.llvm.org/D19705 llvm-svn: 268056
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud