summaryrefslogtreecommitdiff
path: root/external/bsd/llvm/dist/clang/test/CodeGen/thinlto-backend-option.ll
diff options
context:
space:
mode:
Diffstat (limited to 'external/bsd/llvm/dist/clang/test/CodeGen/thinlto-backend-option.ll')
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-backend-option.ll15
1 files changed, 0 insertions, 15 deletions
diff --git a/external/bsd/llvm/dist/clang/test/CodeGen/thinlto-backend-option.ll b/external/bsd/llvm/dist/clang/test/CodeGen/thinlto-backend-option.ll
deleted file mode 100644
index b25b584a2fe..00000000000
--- a/external/bsd/llvm/dist/clang/test/CodeGen/thinlto-backend-option.ll
+++ /dev/null
@@ -1,15 +0,0 @@
-; 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
-; than that this error is produced, this provides a reliable way to test this
-; scenario independent of any particular backend options that may exist now or
-; in the future.
-
-; 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 -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'