[gn] port afa8aeeeec (RISCVGenExegesis.inc)
[llvm-project.git] / llvm / test / tools / llvm-readobj / ELF / string-dump-multi.s
blob36a115bd259a96f535ba3cce43f964aabc1efa83
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 --check-prefixes=HEADER,CHECK
5 # RUN: llvm-readelf -p .a -p .b %t.o | FileCheck %s
7 # HEADER: LoadName:
8 # CHECK: {{^$}}
9 # CHECK-NEXT: String dump of section '.a':
10 # CHECK-NEXT: [ 0] 0
11 # CHECK-EMPTY:
12 # CHECK-NEXT: String dump of section '.b':
13 # CHECK-NEXT: [ 0] 1
14 # CHECK-EMPTY:
15 # CHECK-NEXT: String dump of section '.a':
16 # CHECK-NEXT: [ 0] 2
18 .section .a,"a",@progbits,unique,0
19 .asciz "0"
20 .section .b,"a",@progbits
21 .asciz "1"
22 .section .a,"a",@progbits,unique,1
23 .asciz "2"