147
|
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
|
|
4
|
|
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:
|
|
17
|
|
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
|