MC: duplicate .file test for WoA (SVN r207341)
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 27 Apr 2014 16:10:57 +0000 (16:10 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 27 Apr 2014 16:10:57 +0000 (16:10 +0000)
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

test/MC/ARM/coff-file.s [new file with mode: 0644]
test/MC/COFF/file.s

diff --git a/test/MC/ARM/coff-file.s b/test/MC/ARM/coff-file.s
new file mode 100644 (file)
index 0000000..965b7af
--- /dev/null
@@ -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{{$}}
+
index 72eee90842aeb0932faecffadf578fdff46a6873..4943319030a8d5a193849353df13de8748d9dbb8 100644 (file)
@@ -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{{$}}