summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-04-27 16:10:57 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-04-27 16:10:57 +0000
commit189a2a91c7d4f897856984b387db9cc58d103556 (patch)
tree078540a2ee322e6aa9af3d473bbcef1e00d7c513 /test
parent38df4bd0318f4692be310b8dde355c4eea367dd7 (diff)
downloadllvm-189a2a91c7d4f897856984b387db9cc58d103556.tar.gz
llvm-189a2a91c7d4f897856984b387db9cc58d103556.tar.bz2
llvm-189a2a91c7d4f897856984b387db9cc58d103556.tar.xz
MC: duplicate .file test for WoA (SVN r207341)
Since the COFF tests are dependent on X86, duplicate the test for ARM. Use the default check prefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/ARM/coff-file.s17
-rw-r--r--test/MC/COFF/file.s14
2 files changed, 24 insertions, 7 deletions
diff --git a/test/MC/ARM/coff-file.s b/test/MC/ARM/coff-file.s
new file mode 100644
index 0000000000..965b7afaf3
--- /dev/null
+++ b/test/MC/ARM/coff-file.s
@@ -0,0 +1,17 @@
+// RUN: llvm-mc -triple thumbv7-windows -filetype obj %s -o - | llvm-objdump -t - \
+// RUN: | FileCheck %s
+
+ .file "null-padded.asm"
+// CHECK: (nx 1) {{0x[0-9]+}} .file
+// CHECK-NEXT: AUX null-padded.asm{{$}}
+
+ .file "eighteen-chars.asm"
+
+// CHECK: (nx 1) {{0x[0-9]+}} .file
+// CHECK-NEXT: AUX eighteen-chars.asm{{$}}
+
+ .file "multiple-auxiliary-entries.asm"
+
+// CHECK: (nx 2) {{0x[0-9]+}} .file
+// CHECK-NEXT: AUX multiple-auxiliary-entries.asm{{$}}
+
diff --git a/test/MC/COFF/file.s b/test/MC/COFF/file.s
index 72eee90842..4943319030 100644
--- a/test/MC/COFF/file.s
+++ b/test/MC/COFF/file.s
@@ -1,17 +1,17 @@
// RUN: llvm-mc -triple i686-windows -filetype obj %s -o - | llvm-objdump -t - \
-// RUN: | FileCheck %s -check-prefix CHECK-PRINT
+// RUN: | FileCheck %s
.file "null-padded.asm"
-// CHECK-PRINT: (nx 1) {{0x[0-9]+}} .file
-// CHECK-PRINT-NEXT: AUX null-padded.asm{{$}}
+// CHECK: (nx 1) {{0x[0-9]+}} .file
+// CHECK-NEXT: AUX null-padded.asm{{$}}
.file "eighteen-chars.asm"
-// CHECK-PRINT: (nx 1) {{0x[0-9]+}} .file
-// CHECK-PRINT-NEXT: AUX eighteen-chars.asm{{$}}
+// CHECK: (nx 1) {{0x[0-9]+}} .file
+// CHECK-NEXT: AUX eighteen-chars.asm{{$}}
.file "multiple-auxiliary-entries.asm"
-// CHECK-PRINT: (nx 2) {{0x[0-9]+}} .file
-// CHECK-PRINT-NEXT: AUX multiple-auxiliary-entries.asm{{$}}
+// CHECK: (nx 2) {{0x[0-9]+}} .file
+// CHECK-NEXT: AUX multiple-auxiliary-entries.asm{{$}}