We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2741488 commit 5b49185Copy full SHA for 5b49185
llvm/test/LTO/X86/empty-triple.ll
@@ -0,0 +1,7 @@
1
+; RUN: llvm-as < %s >%t1
2
+; RUN: llvm-lto -o %t2 %t1 2>&1 | FileCheck --allow-empty %s
3
+
4
+; The test is to check the triple is set to default one when it's empty.
5
+; Otherwise, an error will be raised by llvm-lto.
6
7
+; CHECK-NOT: llvm-lto: error: No available targets are compatible with triple ""
0 commit comments