2014-04-27 18:10:57 +02:00
|
|
|
// RUN: llvm-mc -triple thumbv7-windows -filetype obj %s -o - | llvm-objdump -t - \
|
|
|
|
// RUN: | FileCheck %s
|
|
|
|
|
2014-05-02 19:45:24 +02:00
|
|
|
// RUN: llvm-mc -triple thumbv7-windows -filetype obj %s -o - \
|
2020-07-20 09:39:14 +02:00
|
|
|
// RUN: | llvm-readobj --symbols - | FileCheck %s -check-prefix CHECK-SCN
|
2014-05-02 19:45:24 +02:00
|
|
|
|
2014-04-27 18:10:57 +02:00
|
|
|
.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{{$}}
|
|
|
|
|
2014-05-02 19:45:24 +02:00
|
|
|
// CHECK-SCN: Symbols [
|
|
|
|
// CHECK-SCN: Symbol {
|
|
|
|
// CHECK-SCN: Name: .file
|
2014-09-20 02:25:06 +02:00
|
|
|
// CHECK-SCN: Section: IMAGE_SYM_DEBUG (-2)
|
2014-05-02 19:45:24 +02:00
|
|
|
// CHECK-SCN: StorageClass: File
|
|
|
|
// CHECK-SCN: AuxFileRecord {
|
|
|
|
// CHECK-SCN: FileName: null-padded.asm
|
|
|
|
// CHECK-SCN: }
|
|
|
|
// CHECK-SCN: }
|
|
|
|
// CHECK-SCN: Symbol {
|
|
|
|
// CHECK-SCN: Name: .file
|
2014-09-20 02:25:06 +02:00
|
|
|
// CHECK-SCN: Section: IMAGE_SYM_DEBUG (-2)
|
2014-05-02 19:45:24 +02:00
|
|
|
// CHECK-SCN: StorageClass: File
|
|
|
|
// CHECK-SCN: AuxFileRecord {
|
|
|
|
// CHECK-SCN: FileName: eighteen-chars.asm
|
|
|
|
// CHECK-SCN: }
|
|
|
|
// CHECK-SCN: }
|
|
|
|
// CHECK-SCN: Symbol {
|
|
|
|
// CHECK-SCN: Name: .file
|
2014-09-20 02:25:06 +02:00
|
|
|
// CHECK-SCN: Section: IMAGE_SYM_DEBUG (-2)
|
2014-05-02 19:45:24 +02:00
|
|
|
// CHECK-SCN: StorageClass: File
|
|
|
|
// CHECK-SCN: AuxFileRecord {
|
|
|
|
// CHECK-SCN: FileName: multiple-auxiliary-entries.asm
|
|
|
|
// CHECK-SCN: }
|
|
|
|
// CHECK-SCN: }
|
|
|
|
// CHECK-SCN: ]
|
|
|
|
|