diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-01-12 04:27:18 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-01-12 04:27:18 +0000 |
commit | e04c90bde5c1f7c78310e44f16adf175b1d95477 (patch) | |
tree | c6f77247e4a0b029dfa4e3ff48a7023ce1de5ea5 /utils | |
parent | a3554a47ef1fc2616519326403246bbfa0522729 (diff) | |
download | llvm-e04c90bde5c1f7c78310e44f16adf175b1d95477.tar.gz llvm-e04c90bde5c1f7c78310e44f16adf175b1d95477.tar.bz2 llvm-e04c90bde5c1f7c78310e44f16adf175b1d95477.tar.xz |
Add -disable-lto optimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/NewNightlyTest.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index e433ac05fc..2c07a3f26a 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -35,6 +35,7 @@ use Socket; # -disable-llc Disable LLC tests in the nightly tester. # -disable-jit Disable JIT tests in the nightly tester. # -disable-cbe Disable C backend tests in the nightly tester. +# -disable-lto Disable link time optimization. # -verbose Turn on some debug output # -debug Print information useful only to maintainers of this script. # -nice Checkout/Configure/Build with "nice" to reduce impact @@ -152,6 +153,7 @@ while (scalar(@ARGV) and ($_ = $ARGV[0], /^[-+]/)) { if (/^-disable-jit$/) { $PROGTESTOPTS .= " DISABLE_JIT=1"; $CONFIGUREARGS .= " --disable-jit"; next; } if (/^-disable-cbe$/) { $PROGTESTOPTS .= " DISABLE_CBE=1"; next; } + if (/^-disable-lto$/) { $PROGTESTOPTS .= " DISABLE_LTO=1"; next; } if (/^-test-opts$/) { $PROGTESTOPTS .= "$ARGV[0]"; shift; next; } if (/^-verbose$/) { $VERBOSE = 1; next; } if (/^-debug$/) { $DEBUG = 1; next; } |