llvm/llvm/test/tools/llvm-size/macho-berkeley.test

## Show that llvm-size can print Mach-O files using berkeley-style output.

# RUN: yaml2obj %s -o %t
# RUN: llvm-size %t -B \
# RUN:   | FileCheck %s --implicit-check-not={{.}} --strict-whitespace

# CHECK:      __TEXT	__DATA	__OBJC	others	dec	hex
# CHECK-NEXT: 4	8	0	0	12	c	{{$}}

--- !mach-o
FileHeader:
  magic:      0xFEEDFACE
  cputype:    0x0000000C
  cpusubtype: 0x00000009
  filetype:   0x00000001
  ncmds:      1
  sizeofcmds: 192
  flags:      0x00000000
LoadCommands:
  - cmd:      LC_SEGMENT
    cmdsize:  192
    segname:  ''
    vmaddr:   0
    vmsize:   12
    fileoff:  220
    filesize: 12
    maxprot:  7
    initprot: 7
    nsects:   2
    flags:    0
    Sections:
      - sectname:  __text
        segname:   __TEXT
        addr:      0x0000000000000000
        size:      4
        offset:    0x000000DC
        align:     0
        reloff:    0x00000000
        nreloc:    0
        flags:     0x80000000
        reserved1: 0x00000000
        reserved2: 0x00000000
        reserved3: 0x00000000
      - sectname:  __data
        segname:   __DATA
        addr:      0x0000000000000004
        size:      8
        offset:    0x000000E0
        align:     0
        reloff:    0x00000000
        nreloc:    0
        flags:     0x00000000
        reserved1: 0x00000000
        reserved2: 0x00000000
        reserved3: 0x00000000