annotate clang/test/Misc/cc1as-split-dwarf.s @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // REQUIRES: x86-registered-target
anatofuz
parents:
diff changeset
2 // RUN: %clang -cc1as -triple x86_64-pc-linux-gnu %s -filetype obj -o %t1 -split-dwarf-output %t2
anatofuz
parents:
diff changeset
3 // RUN: llvm-objdump -s %t1 | FileCheck --check-prefix=O %s
anatofuz
parents:
diff changeset
4 // RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DWO %s
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 // O-NOT: Contents of section
anatofuz
parents:
diff changeset
7 // O: Contents of section .strtab:
anatofuz
parents:
diff changeset
8 // O-NOT: Contents of section
anatofuz
parents:
diff changeset
9 // O: Contents of section .text:
anatofuz
parents:
diff changeset
10 // O-NEXT: 0000 c3
anatofuz
parents:
diff changeset
11 // O-NEXT: Contents of section .symtab:
anatofuz
parents:
diff changeset
12 // O-NOT: Contents of section
anatofuz
parents:
diff changeset
13 .globl main
anatofuz
parents:
diff changeset
14 main:
anatofuz
parents:
diff changeset
15 .Ltmp1:
anatofuz
parents:
diff changeset
16 ret
anatofuz
parents:
diff changeset
17 .Ltmp2:
anatofuz
parents:
diff changeset
18
anatofuz
parents:
diff changeset
19 // DWO-NOT: Contents of section
anatofuz
parents:
diff changeset
20 // DWO: Contents of section .strtab:
anatofuz
parents:
diff changeset
21 // DWO-NOT: Contents of section
anatofuz
parents:
diff changeset
22 // DWO: Contents of section .foo.dwo:
anatofuz
parents:
diff changeset
23 // DWO-NEXT: 0000 01000000
anatofuz
parents:
diff changeset
24 // DWO-NOT: Contents of section
anatofuz
parents:
diff changeset
25 .section .foo.dwo
anatofuz
parents:
diff changeset
26 .long .Ltmp2-.Ltmp1