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 --check-prefixes=LLVM,COFF
6 # RUN: llvm-readelf --all %t.a | FileCheck %s --check-prefixes=GNU,COFF
8 # LLVM: File: trivial.obj.elf-x86-64
9 # LLVM: Format: ELF64-x86-64
11 # LLVM: Machine: EM_X86_64
17 # GNU: Machine: Advanced Micro Devices X86-64
18 # GNU: Section Headers:
19 # GNU: Relocation section '.rela.text'
20 # GNU: Symbol table '.symtab'
22 # LLVM: File: trivial.obj.elf-i386
23 # LLVM: Format: ELF32-i386
25 # LLVM: Machine: EM_386
31 # GNU: Machine: Intel 80386
32 # GNU: Section Headers:
33 # GNU: Relocation section '.rel.text'
34 # GNU: Symbol table '.symtab'
36 # LLVM: File: trivial.obj.coff-arm
37 # LLVM: Format: COFF-ARM
38 # COFF: ImageFileHeader {
39 # COFF: Machine: IMAGE_FILE_MACHINE_ARMNT