summaryrefslogtreecommitdiff
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-09-19 22:15:52 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-09-19 22:15:52 +0000
commit88fae0edcce84920ba7c5685c36f6bd6cfb9b86d (patch)
treec1956347a81b84b10b8310d7dbc7e28443d33c05 /test/lit.cfg
parent617305a0eb086f34a1005c8be2af3eea4a2a715d (diff)
downloadllvm-88fae0edcce84920ba7c5685c36f6bd6cfb9b86d.tar.gz
llvm-88fae0edcce84920ba7c5685c36f6bd6cfb9b86d.tar.bz2
llvm-88fae0edcce84920ba7c5685c36f6bd6cfb9b86d.tar.xz
Fix LTO handling of module-level assembly (PR14152).
Patch by Tom Roeder! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index 9e4e0b0229..ea9303d197 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -221,7 +221,9 @@ for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/|-)\bclang\b(?!-)",
r"\bllvm-size\b",
# Match llvmc but not -llvmc
NOHYPHEN + r"\bllvmc\b",
- r"\blto\b",
+ r"\bllvm-lto\b",
+ # Match lto but not -lto
+ NOHYPHEN + r"\blto\b",
# Don't match '.opt', '-opt',
# '^opt' or '/opt'.
r"\bmacho-dump\b", r"(?<!\.|-|\^|/)\bopt\b",