basic.test
541 Bytes
## Test the case where no switches are specified.
# RUN: yaml2obj %s -o %t.trivial.obj.elf-x86-64
# RUN: llvm-readobj %t.trivial.obj.elf-x86-64 | FileCheck --check-prefix=HEADER %s
# RUN: llvm-readelf %t.trivial.obj.elf-x86-64 | FileCheck --check-prefix=NO-OUTPUT --allow-empty %s
# HEADER: File: {{.*}}trivial.obj.elf-x86-64
# HEADER: Format: elf64-x86-64
# HEADER: Arch: x86_64
# HEADER: AddressSize: 64bit
# NO-OUTPUT-NOT: {{.}}
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64