1 ## This test verifies that llvm-objcopy correctly ignores the LC_SUB_* load
4 # RUN: yaml2obj %s -o %t
5 # RUN: llvm-objcopy %t %t2
7 # RUN: llvm-objdump --macho --private-headers %t2 | FileCheck %s
13 cpusubtype: 0x80000003
20 - cmd: LC_SUB_FRAMEWORK
25 - cmd: LC_SUB_UMBRELLA
41 # CHECK: Load command 0
42 # CHECK: cmd LC_SUB_FRAMEWORK
44 # CHECK: umbrella Bar (offset 12)
45 # CHECK: Load command 1
46 # CHECK: cmd LC_SUB_UMBRELLA
48 # CHECK: sub_umbrella Foo (offset 12)
49 # CHECK: Load command 2
50 # CHECK: cmd LC_SUB_LIBRARY
52 # CHECK: sub_library libfoo (offset 12)
53 # CHECK: Load command 3
54 # CHECK: cmd LC_SUB_CLIENT
56 # CHECK: client bar (offset 12)