[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / dwo-sections.s
blob9b2d2aa58d047e2bc4defc7e00100b3d166d0abb
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t1 -split-dwarf-file %t2
2 // RUN: llvm-objdump -s %t1 | FileCheck --check-prefix=O %s
3 // RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DWO %s
5 // O-NOT: Contents of section
6 // O: Contents of section .strtab:
7 // O-NOT: Contents of section
8 // O: Contents of section .text:
9 // O-NEXT: 0000 c3
10 // O-NEXT: Contents of section .symtab:
11 // O-NOT: Contents of section
12 .globl main
13 main:
14 .Ltmp1:
15 ret
16 .Ltmp2:
18 // DWO-NOT: Contents of section
19 // DWO: Contents of section .strtab:
20 // DWO-NOT: Contents of section
21 // DWO: Contents of section .foo.dwo:
22 // DWO-NEXT: 0000 01000000
23 // DWO-NOT: Contents of section
24 .section .foo.dwo
25 .long .Ltmp2-.Ltmp1