125 lines · yaml
1# RUN: yaml2obj %s -o %t2# RUN: %lldb %t -o "image dump symtab" -o exit | FileCheck %s3# CHECK: Index UserID DSX Type File Address/Value Load Address Size Flags Name4# CHECK: [ 0] 4294967295 Invalid 0xffffffffffffffff 0x0000000000000000 0x00000000 errno5# CHECK: [ 1] 4294967295 Code 0x0000000010000320 0x0000000000000420 0x00000000 __threads_init6# CHECK: [ 2] 4294967295 Data 0x0000000020000920 0x000000000000003c 0x00000000 __threads_init7# CHECK: [ 3] 4294967295 Invalid 0x000000002000095c 0x0000000000000060 0x00000000 TOC8# CHECK: [ 4] 4294967295 Invalid 0x0000000010000740 0x000000000000003a 0x00000000 text9# CHECK: [ 5] 4294967295 Invalid 0x0000000010000740 0x000000000000003a 0x00000000 main10 11--- !XCOFF12FileHeader:13 MagicNumber: 0x1DF14 NumberOfSections: 215 CreationTime: 00000000016 Flags: 0x100217Sections:18 - Name: .text19 Address: 0x1000026820 Size: 0x51221 FileOffsetToData: 0x26822 FileOffsetToRelocations: 0xECC23 FileOffsetToLineNumbers: 0x024 NumberOfRelocations: 0x2425 NumberOfLineNumbers: 0x026 Flags: [ STYP_TEXT ]27 SectionData: 80C2000028 - Name: .data29 Address: 0x2000077A30 Size: 0x24231 FileOffsetToData: 0x77A32 FileOffsetToRelocations: 0x103433 FileOffsetToLineNumbers: 0x034 NumberOfRelocations: 0x2535 NumberOfLineNumbers: 0x036 Flags: [ STYP_DATA ]37 SectionData: ''38Symbols:39 - Name: errno40 Value: 0x041 Section: N_UNDEF42 Type: 0x043 StorageClass: C_EXT44 NumberOfAuxEntries: 145 AuxEntries:46 - Type: AUX_CSECT47 ParameterHashIndex: 048 TypeChkSectNum: 049 StorageMappingClass: XMC_RW50 SectionOrLength: 051 StabInfoIndex: 052 StabSectNum: 053 - Name: .__threads_init54 Value: 0x1000032055 Section: .text56 Type: 0x2057 StorageClass: C_EXT58 NumberOfAuxEntries: 159 AuxEntries:60 - Type: AUX_CSECT61 ParameterHashIndex: 062 TypeChkSectNum: 063 StorageMappingClass: XMC_PR64 SectionOrLength: 8465 StabInfoIndex: 066 StabSectNum: 067 - Name: __threads_init68 Value: 0x2000092069 Section: .data70 Type: 0x071 StorageClass: C_EXT72 NumberOfAuxEntries: 173 AuxEntries:74 - Type: AUX_CSECT75 ParameterHashIndex: 076 TypeChkSectNum: 077 StorageMappingClass: XMC_DS78 SectionOrLength: 1279 StabInfoIndex: 080 StabSectNum: 081 - Name: TOC82 Value: 0x2000095C83 Section: .data84 Type: 0x085 StorageClass: C_HIDEXT86 NumberOfAuxEntries: 187 AuxEntries:88 - Type: AUX_CSECT89 ParameterHashIndex: 090 TypeChkSectNum: 091 StorageMappingClass: XMC_TC092 SectionOrLength: 093 StabInfoIndex: 094 StabSectNum: 095 - Name: .text96 Value: 0x1000074097 Section: .text98 Type: 0x099 StorageClass: C_HIDEXT100 NumberOfAuxEntries: 1101 AuxEntries:102 - Type: AUX_CSECT103 ParameterHashIndex: 0104 TypeChkSectNum: 0105 StorageMappingClass: XMC_PR106 SectionOrLength: 58107 StabInfoIndex: 0108 StabSectNum: 0109 - Name: .main110 Value: 0x10000740111 Section: .text112 Type: 0x0113 StorageClass: C_EXT114 NumberOfAuxEntries: 1115 AuxEntries:116 - Type: AUX_CSECT117 ParameterHashIndex: 0118 TypeChkSectNum: 0119 StorageMappingClass: XMC_PR120 SectionOrLength: 137121 StabInfoIndex: 0122 StabSectNum: 0123 124...125