elf-m.test
585 Bytes
## Show that llvm-size falls back to Berkeley output if --format=darwin is
## specified and the input is not Mach-O.
# RUN: yaml2obj %s -o %t
# RUN: llvm-size -m %t | FileCheck %s
# RUN: llvm-size --format=darwin %t | FileCheck %s
## FIXME: The input filename should be printed but isn't currently due to
## https://bugs.llvm.org/show_bug.cgi?id=42971.
# CHECK: text data bss dec hex filename
# CHECK-NEXT: 0 0 0 0 0
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64