Files
clang-p2996/llvm/test/ObjectYAML/MachO/lc-ident.yaml
Georgii Rymar 9aa7898200 Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930).
This reverts reverting commit fc40a03323
and fixes LLD (MachO/wasm) tests that failed previously.
2020-11-18 13:08:46 +03:00

23 lines
613 B
YAML

# RUN: yaml2obj %s | obj2yaml | FileCheck %s
--- !mach-o
FileHeader:
magic: 0xFEEDFACF
cputype: 0x01000007
cpusubtype: 0x80000003
filetype: 0x00000002
ncmds: 1
sizeofcmds: 16
flags: 0x00218085
reserved: 0x00000000
LoadCommands:
- cmd: LC_IDENT
cmdsize: 16
PayloadBytes: [ 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7 ]
...
# CHECK: LoadCommands:
# CHECK-NEXT: - cmd: LC_IDENT
# CHECK-NEXT: cmdsize: 16
# CHECK-NEXT: PayloadBytes: [ 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7 ]