brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.3 KiB · edcda71 Raw
95 lines · plain
1# RUN: yaml2obj %s -o %t.o2# RUN: %lldb -b -o 'target modules lookup -s absolute_symbol' %t.o | FileCheck %s3# CHECK: 1 symbols match 'absolute_symbol'4# CHECK:   Name: absolute_symbol5# CHECK:   Value: 0x00000000123456786# Created from:7#   .globl absolute_symbol8#   absolute_symbol = 0x123456789--- !mach-o10FileHeader:11  magic:           0xFEEDFACF12  cputype:         0x100000C13  cpusubtype:      0x014  filetype:        0x115  ncmds:           416  sizeofcmds:      28017  flags:           0x018  reserved:        0x019LoadCommands:20  - cmd:             LC_SEGMENT_6421    cmdsize:         15222    segname:         ''23    vmaddr:          024    vmsize:          025    fileoff:         31226    filesize:        027    maxprot:         728    initprot:        729    nsects:          130    flags:           031    Sections:32      - sectname:        __text33        segname:         __TEXT34        addr:            0x035        size:            036        offset:          0x13837        align:           038        reloff:          0x039        nreloc:          040        flags:           0x8000000041        reserved1:       0x042        reserved2:       0x043        reserved3:       0x044        content:         ''45  - cmd:             LC_BUILD_VERSION46    cmdsize:         2447    platform:        148    minos:           78643249    sdk:             050    ntools:          051  - cmd:             LC_SYMTAB52    cmdsize:         2453    symoff:          31254    nsyms:           255    stroff:          34456    strsize:         2457  - cmd:             LC_DYSYMTAB58    cmdsize:         8059    ilocalsym:       060    nlocalsym:       161    iextdefsym:      162    nextdefsym:      163    iundefsym:       264    nundefsym:       065    tocoff:          066    ntoc:            067    modtaboff:       068    nmodtab:         069    extrefsymoff:    070    nextrefsyms:     071    indirectsymoff:  072    nindirectsyms:   073    extreloff:       074    nextrel:         075    locreloff:       076    nlocrel:         077LinkEditData:78  NameList:79    - n_strx:          1780      n_type:          0xE81      n_sect:          182      n_desc:          083      n_value:         084    - n_strx:          185      n_type:          0x386      n_sect:          087      n_desc:          088      n_value:         30541989689  StringTable:90    - ''91    - absolute_symbol92    - ltmp093    - ''94...95