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
20 # GNU-NEXT: File: [[ARFILE]](trivial.obj.elf-x86-64)
22 # GNU: Machine: Advanced Micro Devices X86-64
23 # GNU: Section Headers:
24 # GNU: Relocation section '.rela.text'
25 # GNU: Symbol table '.symtab'
26 # GNU: There are no section groups in this file.
29 # LLVM-NEXT: File: [[ARFILE]](trivial.obj.elf-i386)
30 # LLVM: Format: ELF32-i386
32 # LLVM: Machine: EM_386
40 # GNU-NEXT: File: [[ARFILE]](trivial.obj.elf-i386)
42 # GNU: Machine: Intel 80386
43 # GNU: Section Headers:
44 # GNU: Relocation section '.rel.text'
45 # GNU: Symbol table '.symtab'
46 # GNU: There are no section groups in this file.
49 # LLVM-NEXT: File: [[ARFILE]](trivial.obj.coff-arm)
50 # LLVM: Format: COFF-ARM
52 # GNU-NEXT: File: [[ARFILE]](trivial.obj.coff-arm)
53 # COFF: ImageFileHeader {
54 # COFF: Machine: IMAGE_FILE_MACHINE_ARMNT