brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.4 KiB · 05c16d1 Raw
161 lines · yaml
1# RUN: yaml2obj %s -o %t2# RUN: llvm-jitlink -noexec -phony-externals %t3#4# Check that MachO::X86_64_RELOC_SUBTRACTOR relocations work when the fixup5# location and target are in the same block (in this case in the __eh_frame6# section).7 8--- !mach-o9IsLittleEndian: true10FileHeader:11  magic:           0xFEEDFACF12  cputype:         0x100000713  cpusubtype:      0x314  filetype:        0x115  ncmds:           416  sizeofcmds:      38417  flags:           0x018  reserved:        0x019LoadCommands:20  - cmd:             LC_SEGMENT_6421    cmdsize:         31222    segname:         ''23    vmaddr:          024    vmsize:          9625    fileoff:         44826    filesize:        9627    maxprot:         728    initprot:        729    nsects:          330    flags:           031    Sections:32      - sectname:        __text33        segname:         __TEXT34        addr:            0x035        size:            336        offset:          0x1C037        align:           438        reloff:          0x039        nreloc:          040        flags:           0x8000040041        reserved1:       0x042        reserved2:       0x043        reserved3:       0x044        content:         31C0C345      - sectname:        __eh_frame46        segname:         __TEXT47        addr:            0x848        size:            5649        offset:          0x1C850        align:           351        reloff:          0x22052        nreloc:          453        flags:           0x054        reserved1:       0x055        reserved2:       0x056        reserved3:       0x057        content:         1400000000000000017A520001781001100C0708900100001C00000004000000F8FFFFFFFFFFFFFF0300000000000000000000000000000058        relocations:59          - address:         0x1C60            symbolnum:       061            pcrel:           false62            length:          263            extern:          true64            type:            565            scattered:       false66            value:           067          - address:         0x1C68            symbolnum:       169            pcrel:           false70            length:          271            extern:          true72            type:            073            scattered:       false74            value:           075          - address:         0x2076            symbolnum:       177            pcrel:           false78            length:          379            extern:          true80            type:            581            scattered:       false82            value:           083          - address:         0x2084            symbolnum:       285            pcrel:           false86            length:          387            extern:          true88            type:            089            scattered:       false90            value:           091      - sectname:        __compact_unwind92        segname:         __LD93        addr:            0x4094        size:            3295        offset:          0x20096        align:           397        reloff:          0x24098        nreloc:          199        flags:           0x2000000100        reserved1:       0x0101        reserved2:       0x0102        reserved3:       0x0103        content:         '0000000000000000030000000000000400000000000000000000000000000000'104        relocations:105          - address:         0x0106            symbolnum:       2107            pcrel:           false108            length:          3109            extern:          true110            type:            0111            scattered:       false112            value:           0113  - cmd:             LC_SYMTAB114    cmdsize:         24115    symoff:          584116    nsyms:           3117    stroff:          632118    strsize:         32119  - cmd:             LC_BUILD_VERSION120    cmdsize:         32121    platform:        1122    minos:           917504123    sdk:             0124    ntools:          1125    Tools:126      - tool:            3127        version:         59048448128  - cmd:             LC_DATA_IN_CODE129    cmdsize:         16130    dataoff:         584131    datasize:        0132LinkEditData:133  NameList:134    - n_strx:          8135      n_type:          0xE136      n_sect:          2137      n_desc:          0138      n_value:         8139    - n_strx:          18140      n_type:          0xE141      n_sect:          2142      n_desc:          0143      n_value:         32144    - n_strx:          2145      n_type:          0xF146      n_sect:          1147      n_desc:          32148      n_value:         0149  StringTable:150    - ' '151    - _main152    - EH_Frame1153    - func.eh154    - ''155    - ''156    - ''157    - ''158    - ''159    - ''160...161