[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / COFF / file.s
blob3bbd2daa4f92d311dac7493737b65d50a5abf133
1 // RUN: llvm-mc -triple i686-windows -filetype obj %s -o - | llvm-objdump -t - \
2 // RUN: | FileCheck %s
4 // Round trip through .s output to exercise MCAsmStreamer.
5 // RUN: llvm-mc -triple i686-windows %s -o - \
6 // RUN: | llvm-mc -triple i686-windows - -filetype=obj -o - | llvm-objdump -t - \
7 // RUN: | FileCheck %s
9 // RUN: llvm-mc -triple i686-windows -filetype obj %s -o - \
10 // RUN: | llvm-readobj --symbols - | FileCheck %s -check-prefix CHECK-SCN
12 .file "null-padded.asm"
13 // CHECK: (nx 1) {{0x[0-9]+}} .file
14 // CHECK-NEXT: AUX null-padded.asm{{$}}
16 .file "eighteen-chars.asm"
18 // CHECK: (nx 1) {{0x[0-9]+}} .file
19 // CHECK-NEXT: AUX eighteen-chars.asm{{$}}
21 .file "multiple-auxiliary-entries.asm"
23 // CHECK: (nx 2) {{0x[0-9]+}} .file
24 // CHECK-NEXT: AUX multiple-auxiliary-entries.asm{{$}}
26 // CHECK-SCN: Symbols [
27 // CHECK-SCN: Symbol {
28 // CHECK-SCN: Name: .file
29 // CHECK-SCN: Section: IMAGE_SYM_DEBUG (-2)
30 // CHECK-SCN: StorageClass: File
31 // CHECK-SCN: AuxFileRecord {
32 // CHECK-SCN: FileName: null-padded.asm
33 // CHECK-SCN: }
34 // CHECK-SCN: }
35 // CHECK-SCN: Symbol {
36 // CHECK-SCN: Name: .file
37 // CHECK-SCN: Section: IMAGE_SYM_DEBUG (-2)
38 // CHECK-SCN: StorageClass: File
39 // CHECK-SCN: AuxFileRecord {
40 // CHECK-SCN: FileName: eighteen-chars.asm
41 // CHECK-SCN: }
42 // CHECK-SCN: }
43 // CHECK-SCN: Symbol {
44 // CHECK-SCN: Name: .file
45 // CHECK-SCN: Section: IMAGE_SYM_DEBUG (-2)
46 // CHECK-SCN: StorageClass: File
47 // CHECK-SCN: AuxFileRecord {
48 // CHECK-SCN: FileName: multiple-auxiliary-entries.asm
49 // CHECK-SCN: }
50 // CHECK-SCN: }
51 // CHECK-SCN: ]