1# RUN: yaml2obj %s -o %t 2# RUN: lldb-test object-file %t | FileCheck %s 3 4# CHECK-LABEL: Name: .text 5# CHECK-NEXT: Type: code 6 7# CHECK-LABEL: Name: .debug_info 8# CHECK-NEXT: Type: dwarf-info 9 10# CHECK-LABEL: Name: .debug_types 11# CHECK-NEXT: Type: dwarf-types 12 13# CHECK-LABEL: Name: .debug_types.dwo 14# CHECK-NEXT: Type: dwarf-types-dwo 15 16# CHECK-LABEL: Name: .debug_loc 17# CHECK-NEXT: Type: dwarf-loc 18 19# CHECK-LABEL: Name: .debug_loc.dwo 20# CHECK-NEXT: Type: dwarf-loc-dwo 21 22# CHECK-LABEL: Name: .debug_loclists 23# CHECK-NEXT: Type: dwarf-loclists 24 25# CHECK-LABEL: Name: .debug_loclists.dwo 26# CHECK-NEXT: Type: dwarf-loclists-dwo 27 28# CHECK-LABEL: Name: .debug_rnglists 29# CHECK-NEXT: Type: dwarf-rnglists 30 31# CHECK-LABEL: Name: .debug_rnglists.dwo 32# CHECK-NEXT: Type: dwarf-rnglists-dwo 33 34# CHECK-LABEL: Name: .debug_names 35# CHECK-NEXT: Type: dwarf-names 36 37# CHECK-LABEL: Name: .debug_cu_index 38# CHECK-NEXT: Type: dwarf-cu-index 39 40# CHECK-LABEL: Name: .debug_tu_index 41# CHECK-NEXT: Type: dwarf-tu-index 42 43# CHECK-LABEL: Name: .gnu_debugaltlink 44# CHECK-NEXT: Type: dwarf-gnu-debugaltlink 45 46# CHECK-LABEL: Name: __codesection 47# CHECK-NEXT: Type: code 48 49# CHECK-LABEL: Name: .data 50# CHECK-NEXT: Type: data 51# CHECK: Thread specific: no 52 53# CHECK-LABEL: Name: .tdata 54# CHECK-NEXT: Type: data 55# CHECK: Thread specific: yes 56 57# CHECK-LABEL: Name: .tbss 58# CHECK-NEXT: Type: zero-fill 59# CHECK: Thread specific: yes 60 61--- !ELF 62FileHeader: 63 Class: ELFCLASS64 64 Data: ELFDATA2LSB 65 Type: ET_REL 66 Machine: EM_X86_64 67 Entry: 0x00000000000007A0 68Sections: 69 - Name: .text 70 Type: SHT_PROGBITS 71 Flags: [ SHF_ALLOC, SHF_EXECINSTR ] 72 Content: DEADBEEFBAADF00D 73 - Name: .debug_info 74 Type: SHT_PROGBITS 75 AddressAlign: 0x0000000000000001 76 Content: DEADBEEFBAADF00D 77 - Name: .debug_types 78 Type: SHT_PROGBITS 79 AddressAlign: 0x0000000000000001 80 Content: DEADBEEFBAADF00D 81 - Name: .debug_types.dwo 82 Type: SHT_PROGBITS 83 AddressAlign: 0x0000000000000001 84 Content: DEADBEEFBAADF00D 85 - Name: .debug_loc 86 Type: SHT_PROGBITS 87 AddressAlign: 0x0000000000000001 88 Content: DEADBEEFBAADF00D 89 - Name: .debug_loc.dwo 90 Type: SHT_PROGBITS 91 AddressAlign: 0x0000000000000001 92 Content: DEADBEEFBAADF00D 93 - Name: .debug_loclists 94 Type: SHT_PROGBITS 95 AddressAlign: 0x0000000000000001 96 Content: DEADBEEFBAADF00D 97 - Name: .debug_loclists.dwo 98 Type: SHT_PROGBITS 99 AddressAlign: 0x0000000000000001 100 Content: DEADBEEFBAADF00D 101 - Name: .debug_rnglists 102 Type: SHT_PROGBITS 103 AddressAlign: 0x0000000000000001 104 Content: DEADBEEFBAADF00D 105 - Name: .debug_rnglists.dwo 106 Type: SHT_PROGBITS 107 AddressAlign: 0x0000000000000001 108 Content: DEADBEEFBAADF00D 109 - Name: .debug_names 110 Type: SHT_PROGBITS 111 AddressAlign: 0x0000000000000001 112 Content: DEADBEEFBAADF00D 113 - Name: .debug_cu_index 114 Type: SHT_PROGBITS 115 AddressAlign: 0x0000000000000001 116 Content: DEADBEEFBAADF00D 117 - Name: .debug_tu_index 118 Type: SHT_PROGBITS 119 AddressAlign: 0x0000000000000001 120 Content: DEADBEEFBAADF00D 121 - Name: .gnu_debugaltlink 122 Type: SHT_PROGBITS 123 AddressAlign: 0x0000000000000001 124 Content: DEADBEEFBAADF00D 125 - Name: __codesection 126 Type: SHT_PROGBITS 127 Flags: [ SHF_ALLOC, SHF_EXECINSTR ] 128 Content: DEADBEEFBAADF00D 129 - Name: .data 130 Type: SHT_PROGBITS 131 Flags: [ SHF_WRITE, SHF_ALLOC ] 132 AddressAlign: 0x0000000000000004 133 Content: 2F000000 134 - Name: .tdata 135 Type: SHT_PROGBITS 136 Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] 137 AddressAlign: 0x0000000000000004 138 Content: 2F000000 139 - Name: .tbss 140 Type: SHT_NOBITS 141 Flags: [ SHF_WRITE, SHF_ALLOC, SHF_TLS ] 142 AddressAlign: 0x0000000000000004 143 Size: 0x0000000000000004 144... 145