Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-readobj / hex-dump-multi.s
blob33ef534e81e13842ef23ba4af985ff2c6c7b4e26
1 # REQUIRES: x86-registered-target
3 # RUN: llvm-mc -filetype=obj -triple x86_64 %s -o %t.o
4 # RUN: llvm-readobj -x .a -x .b %t.o | FileCheck %s
5 # RUN: llvm-readelf -x .a -x .b %t.o | FileCheck %s
7 # CHECK: Hex dump of section '.a':
8 # CHECK-NEXT: 0x00000000 00
9 # CHECK-EMPTY:
10 # CHECK-NEXT: Hex dump of section '.b':
11 # CHECK-NEXT: 0x00000000 01
12 # CHECK-EMPTY:
13 # CHECK-NEXT: Hex dump of section '.a':
14 # CHECK-NEXT: 0x00000000 02
16 .section .a,"a",@progbits,unique,0
17 .byte 0
18 .section .b,"a",@progbits
19 .byte 1
20 .section .a,"a",@progbits,unique,1
21 .byte 2