to only print the first private header. Which for Mach-O files only prints the Mach header and not the subsequent load commands. Which is used by scripts to match what the darwin otool(1) with the -h flag does without the -l flag. For non-Mach-O files it has the same functionality as -private-headers (with the trailing ’s’). rdar://24158331 llvm-svn: 257548
7 lines
310 B
Plaintext
7 lines
310 B
Plaintext
// RUN: llvm-objdump -private-header %p/Inputs/hello.obj.macho-x86_64 | FileCheck %s
|
|
|
|
CHECK: Mach header
|
|
CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
|
|
CHECK: MH_MAGIC_64 X86_64 ALL 0x00 OBJECT 3 496 SUBSECTIONS_VIA_SYMBOLS
|
|
CHECK-NOT: Load command
|