[llvm] r207365 - MC: duplicate .file test for WoA (SVN r207341)
Saleem Abdulrasool
compnerd at compnerd.org
Sun Apr 27 09:10:57 PDT 2014
Author: compnerd
Date: Sun Apr 27 11:10:57 2014
New Revision: 207365
URL: http://llvm.org/viewvc/llvm-project?rev=207365&view=rev
Log:
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.
Added:
llvm/trunk/test/MC/ARM/coff-file.s
Modified:
llvm/trunk/test/MC/COFF/file.s
Added: llvm/trunk/test/MC/ARM/coff-file.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/coff-file.s?rev=207365&view=auto
==============================================================================
--- llvm/trunk/test/MC/ARM/coff-file.s (added)
+++ llvm/trunk/test/MC/ARM/coff-file.s Sun Apr 27 11:10:57 2014
@@ -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{{$}}
+
Modified: llvm/trunk/test/MC/COFF/file.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/file.s?rev=207365&r1=207364&r2=207365&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/file.s (original)
+++ llvm/trunk/test/MC/COFF/file.s Sun Apr 27 11:10:57 2014
@@ -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{{$}}
More information about the llvm-commits
mailing list