1 # Show that dumping operations apply to all members in an archive.
4 # RUN: llvm-ar rc %t.a %p/Inputs/trivial.obj.elf-x86-64 %p/Inputs/trivial.obj.elf-i386 %p/Inputs/trivial.obj.coff-arm
5 # RUN: llvm-readobj --all %t.a | FileCheck %s -DARFILE="%t.a" --check-prefixes=HEADER,LLVM,COFF
6 # RUN: llvm-readelf --all %t.a | FileCheck %s -DARFILE="%t.a" --check-prefixes=HEADER,GNU,COFF
9 # LLVM-NEXT: File: [[ARFILE]](trivial.obj.elf-x86-64)
10 # LLVM: Format: ELF64-x86-64
12 # LLVM: Machine: EM_X86_64
22 # GNU-NEXT: File: [[ARFILE]](trivial.obj.elf-x86-64)
24 # GNU: Machine: Advanced Micro Devices X86-64
25 # GNU: Section Headers:
26 # GNU: Relocation section '.rela.text'
27 # GNU: Symbol table '.symtab'
28 # GNU: There are no section groups in this file.
31 # LLVM-NEXT: File: [[ARFILE]](trivial.obj.elf-i386)
32 # LLVM: Format: ELF32-i386
34 # LLVM: Machine: EM_386
44 # GNU-NEXT: File: [[ARFILE]](trivial.obj.elf-i386)
46 # GNU: Machine: Intel 80386
47 # GNU: Section Headers:
48 # GNU: Relocation section '.rel.text'
49 # GNU: Symbol table '.symtab'
50 # GNU: There are no section groups in this file.
53 # LLVM-NEXT: File: [[ARFILE]](trivial.obj.coff-arm)
54 # LLVM: Format: COFF-ARM
56 # GNU-NEXT: File: [[ARFILE]](trivial.obj.coff-arm)
57 # COFF: ImageFileHeader {
58 # COFF: Machine: IMAGE_FILE_MACHINE_ARMNT