diff options
Diffstat (limited to 'test/MC/ARM/coff-file.s')
-rw-r--r-- | test/MC/ARM/coff-file.s | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/test/MC/ARM/coff-file.s b/test/MC/ARM/coff-file.s new file mode 100644 index 0000000..f0dd29a --- /dev/null +++ b/test/MC/ARM/coff-file.s @@ -0,0 +1,47 @@ +// RUN: llvm-mc -triple thumbv7-windows -filetype obj %s -o - | llvm-objdump -t - \ +// RUN: | FileCheck %s + +// RUN: llvm-mc -triple thumbv7-windows -filetype obj %s -o - \ +// RUN: | llvm-readobj -symbols | FileCheck %s -check-prefix CHECK-SCN + + .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{{$}} + +// CHECK-SCN: Symbols [ +// CHECK-SCN: Symbol { +// CHECK-SCN: Name: .file +// CHECK-SCN: Section: (65534) +// CHECK-SCN: StorageClass: File +// CHECK-SCN: AuxFileRecord { +// CHECK-SCN: FileName: null-padded.asm +// CHECK-SCN: } +// CHECK-SCN: } +// CHECK-SCN: Symbol { +// CHECK-SCN: Name: .file +// CHECK-SCN: Section: (65534) +// CHECK-SCN: StorageClass: File +// CHECK-SCN: AuxFileRecord { +// CHECK-SCN: FileName: eighteen-chars.asm +// CHECK-SCN: } +// CHECK-SCN: } +// CHECK-SCN: Symbol { +// CHECK-SCN: Name: .file +// CHECK-SCN: Section: (65534) +// CHECK-SCN: StorageClass: File +// CHECK-SCN: AuxFileRecord { +// CHECK-SCN: FileName: multiple-auxiliary-entries.asm +// CHECK-SCN: } +// CHECK-SCN: } +// CHECK-SCN: ] + |