mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +00:00
Add printing the LC_SUB_CLIENT load command with llvm-objdump’s -private-headers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
BIN
test/tools/llvm-objdump/X86/Inputs/dylibSubClient.macho-x86_64
Executable file
BIN
test/tools/llvm-objdump/X86/Inputs/dylibSubClient.macho-x86_64
Executable file
Binary file not shown.
@@ -11,6 +11,8 @@
|
||||
// RUN: | FileCheck %s -check-prefix=SUB_UMB
|
||||
// RUN: llvm-objdump -p %p/Inputs/dylibSubLibrary.macho-x86_64 \
|
||||
// RUN: | FileCheck %s -check-prefix=SUB_LIB
|
||||
// RUN: llvm-objdump -p %p/Inputs/dylibSubClient.macho-x86_64 \
|
||||
// RUN: | FileCheck %s -check-prefix=SUB_CLI
|
||||
|
||||
CHECK: Mach header
|
||||
CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
|
||||
@@ -400,3 +402,8 @@ SUB_LIB: Load command 5
|
||||
SUB_LIB: cmd LC_SUB_LIBRARY
|
||||
SUB_LIB: cmdsize 20
|
||||
SUB_LIB: sub_library libfoo (offset 12)
|
||||
|
||||
SUB_CLI: Load command 10
|
||||
SUB_CLI: cmd LC_SUB_CLIENT
|
||||
SUB_CLI: cmdsize 16
|
||||
SUB_CLI: client bar (offset 12)
|
||||
|
Reference in New Issue
Block a user