Skip to content

Commit 5f06735

Browse files
committed
Merge unsupported object tests
1 parent 91501ec commit 5f06735

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

llvm/test/CodeGen/AArch64/nonwindows-coff-mc-error.ll

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
; RUN: not llc -mtriple=aarch64-pc-unknown-xcoff -filetype=null %s 2>&1 | FileCheck %s
2-
; RUN: not llc -mtriple=aarch64-pc-unknown-goff -filetype=null %s 2>&1 | FileCheck %s
1+
; RUN: not llc -mtriple=aarch64-pc-unknown-xcoff -filetype=null %s 2>&1 | FileCheck -check-prefix=OBJFORMAT %s
2+
; RUN: not llc -mtriple=aarch64-pc-unknown-goff -filetype=null %s 2>&1 | FileCheck -check-prefix=OBJFORMAT %s
3+
4+
; RUN: not llc -mtriple=aarch64-unknown-linux-coff -filetype=null %s 2>&1 | FileCheck -check-prefix=MCINIT %s
5+
; CHECK: LLVM ERROR: cannot initialize MC for non-Windows COFF object files
36

47
; Make sure there is no crash or assert with unexpected object
58
; formats.
69

7-
; CHECK: LLVM ERROR: unsupported object format
10+
; OBJFORMAT: LLVM ERROR: unsupported object format
11+
; MCINIT: LLVM ERROR: cannot initialize MC for non-Windows COFF object files
812
define void @foo() {
913
ret void
1014
}

0 commit comments

Comments
 (0)