[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / coff-file.s
blob51e75515b988f52bdc2549dc5ea84a089e36df18
1 // RUN: llvm-mc -triple thumbv7-windows -filetype obj %s -o - | llvm-objdump -t - \
2 // RUN: | FileCheck %s
4 // RUN: llvm-mc -triple thumbv7-windows -filetype obj %s -o - \
5 // RUN: | llvm-readobj --symbols - | FileCheck %s -check-prefix CHECK-SCN
7 .file "null-padded.asm"
8 // CHECK: (nx 1) {{0x[0-9]+}} .file
9 // CHECK-NEXT: AUX null-padded.asm{{$}}
11 .file "eighteen-chars.asm"
13 // CHECK: (nx 1) {{0x[0-9]+}} .file
14 // CHECK-NEXT: AUX eighteen-chars.asm{{$}}
16 .file "multiple-auxiliary-entries.asm"
18 // CHECK: (nx 2) {{0x[0-9]+}} .file
19 // CHECK-NEXT: AUX multiple-auxiliary-entries.asm{{$}}
21 // CHECK-SCN: Symbols [
22 // CHECK-SCN: Symbol {
23 // CHECK-SCN: Name: .file
24 // CHECK-SCN: Section: IMAGE_SYM_DEBUG (-2)
25 // CHECK-SCN: StorageClass: File
26 // CHECK-SCN: AuxFileRecord {
27 // CHECK-SCN: FileName: null-padded.asm
28 // CHECK-SCN: }
29 // CHECK-SCN: }
30 // CHECK-SCN: Symbol {
31 // CHECK-SCN: Name: .file
32 // CHECK-SCN: Section: IMAGE_SYM_DEBUG (-2)
33 // CHECK-SCN: StorageClass: File
34 // CHECK-SCN: AuxFileRecord {
35 // CHECK-SCN: FileName: eighteen-chars.asm
36 // CHECK-SCN: }
37 // CHECK-SCN: }
38 // CHECK-SCN: Symbol {
39 // CHECK-SCN: Name: .file
40 // CHECK-SCN: Section: IMAGE_SYM_DEBUG (-2)
41 // CHECK-SCN: StorageClass: File
42 // CHECK-SCN: AuxFileRecord {
43 // CHECK-SCN: FileName: multiple-auxiliary-entries.asm
44 // CHECK-SCN: }
45 // CHECK-SCN: }
46 // CHECK-SCN: ]