Mercurial > hg > CbC > CbC_llvm
comparison test/MC/ELF/dwo-sections.s @ 147:c2174574ed3a
LLVM 10
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 16:55:33 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
134:3a76565eade5 | 147:c2174574ed3a |
---|---|
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 |