diff options
| author | Eli Friedman <efriedma@codeaurora.org> | 2018-04-12 22:21:36 +0000 |
|---|---|---|
| committer | Eli Friedman <efriedma@codeaurora.org> | 2018-04-12 22:21:36 +0000 |
| commit | 01d349bab10b2abec8c11ef37ac9224d4d125e3d (patch) | |
| tree | df6a1e10212704599112f316c61e217ddf4ee5c0 /clang/test/CodeGen/thinlto-backend-option.ll | |
| parent | a54e7d1a6d9bae85abccbe56080f3061603501d3 (diff) | |
| download | bcm5719-llvm-01d349bab10b2abec8c11ef37ac9224d4d125e3d.tar.gz bcm5719-llvm-01d349bab10b2abec8c11ef37ac9224d4d125e3d.zip | |
Remove -cc1 option "-backend-option".
It means the same thing as -mllvm; there isn't any reason to have two
options which do the same thing.
Differential Revision: https://reviews.llvm.org/D45109
llvm-svn: 329965
Diffstat (limited to 'clang/test/CodeGen/thinlto-backend-option.ll')
| -rw-r--r-- | clang/test/CodeGen/thinlto-backend-option.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/thinlto-backend-option.ll b/clang/test/CodeGen/thinlto-backend-option.ll index 4fcdd079df8..b25b584a2fe 100644 --- a/clang/test/CodeGen/thinlto-backend-option.ll +++ b/clang/test/CodeGen/thinlto-backend-option.ll @@ -1,4 +1,4 @@ -; Test to ensure -backend-options work when invoking the ThinLTO backend path. +; Test to ensure -mllvm work when invoking the ThinLTO backend path. ; This test uses a non-existent backend option to test that backend options are ; being parsed. While it's more important that the existing options are parsed @@ -8,8 +8,8 @@ ; RUN: %clang -flto=thin -c -o %t.o %s ; RUN: llvm-lto -thinlto -o %t %t.o -; RUN: not %clang_cc1 -x ir %t.o -fthinlto-index=%t.thinlto.bc -backend-option -nonexistent -emit-obj -o /dev/null 2>&1 | FileCheck %s -check-prefix=UNKNOWN -; UNKNOWN: clang: Unknown command line argument '-nonexistent' +; RUN: not %clang_cc1 -x ir %t.o -fthinlto-index=%t.thinlto.bc -mllvm -nonexistent -emit-obj -o /dev/null 2>&1 | FileCheck %s -check-prefix=UNKNOWN +; UNKNOWN: clang (LLVM option parsing): Unknown command line argument '-nonexistent' ; RUN: not %clang_cc1 -flto=thinfoo 2>&1 | FileCheck %s -check-prefix=INVALID ; INVALID: error: invalid value 'thinfoo' in '-flto=thinfoo' |

