llvm/llvm/test/tools/llvm-objcopy/MachO/load-commands.yaml

--- !mach-o
FileHeader:
  magic:           0xFEEDFACE
  cputype:         0x0000000C
  cpusubtype:      0x00000009
  filetype:        0x00000001
  ncmds:           1
  sizeofcmds:      16
  flags:           0x00002000
LoadCommands:
  - cmd:          LC_LINKER_OPTION
    cmdsize:      16
    count:        1
    PayloadBytes: [ 0x2D, 0x6C, 0x63, 0x0 ]
...

# RUN: yaml2obj %s > %t
# RUN: llvm-objcopy %t %t.copy
# RUN: cmp %t %t.copy