brintos

brintos / llvm-project-archived public Read only

0
0
Text · 6.0 KiB · 6624564 Raw
220 lines · yaml
1# RUN: yaml2obj %s -o %t.out2# RUN: lldb-test symbols %t.out | FileCheck %s3# Test that the deployment target is parsed from the load commands.4# CHECK: x86_64-apple-macosx10.14.05# CHECK: x86_64-apple-ios12.0.0-macabi6--- !mach-o7FileHeader:      8  magic:           0xFEEDFACF9  cputype:         0x0100000710  cpusubtype:      0x8000000311  filetype:        0x0000000212  ncmds:           1513  sizeofcmds:      77614  flags:           0x0020008515  reserved:        0x0000000016LoadCommands:    17  - cmd:             LC_SEGMENT_6418    cmdsize:         7219    segname:         __PAGEZERO20    vmaddr:          021    vmsize:          429496729622    fileoff:         023    filesize:        024    maxprot:         025    initprot:        026    nsects:          027    flags:           028  - cmd:             LC_SEGMENT_6429    cmdsize:         23230    segname:         __TEXT31    vmaddr:          429496729632    vmsize:          409633    fileoff:         034    filesize:        409635    maxprot:         736    initprot:        537    nsects:          238    flags:           039    Sections:        40      - sectname:        __text41        segname:         __TEXT42        addr:            0x0000000100000FB043        size:            844        offset:          0x00000FB045        align:           446        reloff:          0x0000000047        nreloc:          048        flags:           0x8000040049        reserved1:       0x0000000050        reserved2:       0x0000000051        reserved3:       0x0000000052      - sectname:        __unwind_info53        segname:         __TEXT54        addr:            0x0000000100000FB855        size:            7256        offset:          0x00000FB857        align:           258        reloff:          0x0000000059        nreloc:          060        flags:           0x0000000061        reserved1:       0x0000000062        reserved2:       0x0000000063        reserved3:       0x0000000064  - cmd:             LC_SEGMENT_6465    cmdsize:         7266    segname:         __LINKEDIT67    vmaddr:          429497139268    vmsize:          409669    fileoff:         409670    filesize:        15271    maxprot:         772    initprot:        173    nsects:          074    flags:           075  - cmd:             LC_DYLD_INFO_ONLY76    cmdsize:         4877    rebase_off:      078    rebase_size:     079    bind_off:        080    bind_size:       081    weak_bind_off:   082    weak_bind_size:  083    lazy_bind_off:   084    lazy_bind_size:  085    export_off:      409686    export_size:     4887  - cmd:             LC_SYMTAB88    cmdsize:         2489    symoff:          415290    nsyms:           391    stroff:          420092    strsize:         4893  - cmd:             LC_DYSYMTAB94    cmdsize:         8095    ilocalsym:       096    nlocalsym:       097    iextdefsym:      098    nextdefsym:      299    iundefsym:       2100    nundefsym:       1101    tocoff:          0102    ntoc:            0103    modtaboff:       0104    nmodtab:         0105    extrefsymoff:    0106    nextrefsyms:     0107    indirectsymoff:  0108    nindirectsyms:   0109    extreloff:       0110    nextrel:         0111    locreloff:       0112    nlocrel:         0113  - cmd:             LC_LOAD_DYLINKER114    cmdsize:         32115    name:            12116    Content:         /usr/lib/dyld117    ZeroPadBytes:    7118  - cmd:             LC_UUID119    cmdsize:         24120    uuid:            8F41E140-23B9-3720-AC28-4E7AF9D159BA121  - cmd:             LC_BUILD_VERSION122    cmdsize:         32123    platform:        1124    minos:           658944125    sdk:             658944126    ntools:          1127    Tools:           128      - tool:            3129        version:         26738944130  - cmd:             LC_SOURCE_VERSION131    cmdsize:         16132    version:         0133  - cmd:             LC_MAIN134    cmdsize:         24135    entryoff:        4016136    stacksize:       0137  - cmd:             LC_LOAD_DYLIB138    cmdsize:         56139    dylib:           140      name:            24141      timestamp:       2142      current_version: 82102276143      compatibility_version: 65536144    Content:         /usr/lib/libSystem.B.dylib145    ZeroPadBytes:    6146  - cmd:             LC_FUNCTION_STARTS147    cmdsize:         16148    dataoff:         4144149    datasize:        8150  - cmd:             LC_DATA_IN_CODE151    cmdsize:         16152    dataoff:         4152153    datasize:        0154  - cmd:             LC_BUILD_VERSION155    cmdsize:         32156    platform:        6157    minos:           786432158    sdk:             786432159    ntools:          1160    Tools:161      - tool:            3162        version:         26738944163LinkEditData:    164  ExportTrie:      165    TerminalSize:    0166    NodeOffset:      0167    Name:            ''168    Flags:           0x0000000000000000169    Address:         0x0000000000000000170    Other:           0x0000000000000000171    ImportName:      ''172    Children:        173      - TerminalSize:    0174        NodeOffset:      5175        Name:            _176        Flags:           0x0000000000000000177        Address:         0x0000000000000000178        Other:           0x0000000000000000179        ImportName:      ''180        Children:        181          - TerminalSize:    2182            NodeOffset:      33183            Name:            _mh_execute_header184            Flags:           0x0000000000000000185            Address:         0x0000000000000000186            Other:           0x0000000000000000187            ImportName:      ''188          - TerminalSize:    3189            NodeOffset:      37190            Name:            main191            Flags:           0x0000000000000000192            Address:         0x0000000000000FB0193            Other:           0x0000000000000000194            ImportName:      ''195  NameList:        196    - n_strx:          2197      n_type:          0x0F198      n_sect:          1199      n_desc:          16200      n_value:         4294967296201    - n_strx:          22202      n_type:          0x0F203      n_sect:          1204      n_desc:          0205      n_value:         4294971312206    - n_strx:          28207      n_type:          0x01208      n_sect:          0209      n_desc:          256210      n_value:         0211  StringTable:     212    - ' '213    - __mh_execute_header214    - _main215    - dyld_stub_binder216    - ''217    - ''218    - ''219...220