122 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 0x0000000100000500 0x0000000000000398 0x00000000 __threads_init6# CHECK: [ 2] 4294967295 Data 0x0000000110000a70 0x0000000000000060 0x00000000 __threads_init7# CHECK: [ 3] 4294967295 Invalid 0x0000000110000ad0 0x00000000000000b0 0x00000000 TOC8# CHECK: [ 4] 4294967295 Invalid 0x0000000100000898 0x00000000100001d8 0x00000000 text9# CHECK: [ 5] 4294967295 Code 0x0000000100000898 0x00000000100001d8 0x00000000 main10 11--- !XCOFF12FileHeader:13 MagicNumber: 0x1F714 NumberOfSections: 215 CreationTime: 00000000016 Flags: 0x000217Sections:18 - Name: .text19 Address: 0x10000043820 Size: 0x3821 FileOffsetToData: 0x022 FileOffsetToLineNumbers: 0x023 NumberOfLineNumbers: 0x024 Flags: [ STYP_TEXT ]25 SectionData: E8C2000026 - Name: .data27 Address: 0x1100008D228 Size: 0x2AE29 FileOffsetToData: 0x8D230 FileOffsetToRelocations: 0x132E31 FileOffsetToLineNumbers: 0x032 NumberOfRelocations: 0x2233 NumberOfLineNumbers: 0x034 Flags: [ STYP_DATA ]35 SectionData: '' 36Symbols:37 - Name: errno38 Value: 0x039 Section: N_UNDEF40 Type: 0x041 StorageClass: C_EXT42 NumberOfAuxEntries: 143 AuxEntries:44 - Type: AUX_CSECT45 ParameterHashIndex: 046 TypeChkSectNum: 047 SymbolAlignmentAndType: 048 StorageMappingClass: XMC_RW49 SectionOrLengthLo: 050 SectionOrLengthHi: 051 - Name: .__threads_init52 Value: 0x10000050053 Section: .text54 Type: 0x2055 StorageClass: C_EXT56 NumberOfAuxEntries: 157 AuxEntries:58 - Type: AUX_CSECT59 ParameterHashIndex: 060 TypeChkSectNum: 061 SymbolAlignmentAndType: 262 StorageMappingClass: XMC_PR63 SectionOrLengthLo: 8064 SectionOrLengthHi: 065 - Name: __threads_init66 Value: 0x110000A7067 Section: .data68 Type: 0x069 StorageClass: C_EXT70 NumberOfAuxEntries: 171 AuxEntries:72 - Type: AUX_CSECT73 ParameterHashIndex: 074 TypeChkSectNum: 075 SymbolAlignmentAndType: 2576 StorageMappingClass: XMC_DS77 SectionOrLengthLo: 2478 SectionOrLengthHi: 079 - Name: TOC80 Value: 0x110000AD081 Section: .data82 Type: 0x083 StorageClass: C_HIDEXT84 NumberOfAuxEntries: 185 AuxEntries:86 - Type: AUX_CSECT87 ParameterHashIndex: 088 TypeChkSectNum: 089 SymbolAlignmentAndType: 2590 StorageMappingClass: XMC_TC091 SectionOrLengthLo: 092 SectionOrLengthHi: 093 - Name: .text94 Value: 0x10000089895 Section: .text96 Type: 0x097 StorageClass: C_HIDEXT98 NumberOfAuxEntries: 199 AuxEntries:100 - Type: AUX_CSECT101 ParameterHashIndex: 0102 TypeChkSectNum: 0103 SymbolAlignmentAndType: 17104 StorageMappingClass: XMC_PR105 SectionOrLengthLo: 58106 SectionOrLengthHi: 0107 - Name: .main108 Value: 0x100000898109 Section: .text110 Type: 0x0111 StorageClass: C_EXT112 NumberOfAuxEntries: 1113 AuxEntries:114 - Type: AUX_CSECT115 ParameterHashIndex: 0116 TypeChkSectNum: 0117 SymbolAlignmentAndType: 2118 StorageMappingClass: XMC_PR119 SectionOrLengthLo: 135120 SectionOrLengthHi: 0121...122