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