Files
clang-p2996/llvm/test/tools/llvm-readobj/ELF/string-dump-multi.s
Georgii Rymar dbf520f617 [llvm-readobj][test] - Move platform specific test cases and their inputs to separate folders.
This creates the next subfolders in the test directory:
"COFF", "ELF", "MachO", "wasm".

I've also removed platform specific prefixes, like "coff-*".
One unused binary was removed as well: `Inputs/relocs.obj.elf-mips`

Differential revision: https://reviews.llvm.org/D71203
2019-12-10 11:36:23 +03:00

22 lines
559 B
ArmAsm

# REQUIRES: x86-registered-target
# RUN: llvm-mc -filetype=obj -triple x86_64 %s -o %t.o
# RUN: llvm-readobj -p .a -p .b %t.o | FileCheck %s
# RUN: llvm-readelf -p .a -p .b %t.o | FileCheck %s
# CHECK: String dump of section '.a':
# CHECK-NEXT: [ 0] 0
# CHECK-EMPTY:
# CHECK-NEXT: String dump of section '.b':
# CHECK-NEXT: [ 0] 1
# CHECK-EMPTY:
# CHECK-NEXT: String dump of section '.a':
# CHECK-NEXT: [ 0] 2
.section .a,"a",@progbits,unique,0
.asciz "0"
.section .b,"a",@progbits
.asciz "1"
.section .a,"a",@progbits,unique,1
.asciz "2"