| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | DWARFEmitter.cpp | 143 uint8_t AddrSize; in emitDebugAranges() local 144 if (Range.AddrSize) in emitDebugAranges() 145 AddrSize = *Range.AddrSize; in emitDebugAranges() 204 uint8_t AddrSize; in emitDebugRanges() local 206 AddrSize = *DebugRanges.AddrSize; in emitDebugRanges() 409 uint8_t AddrSize; in emitDebugInfo() local 410 if (Unit.AddrSize) in emitDebugInfo() 411 AddrSize = *Unit.AddrSize; in emitDebugInfo() 632 uint8_t AddrSize; in emitDebugAddr() local 634 AddrSize = *TableEntry.AddrSize; in emitDebugAddr() [all …]
|
| H A D | DWARFYAML.cpp | 147 IO.mapOptional("AddressSize", ARange.AddrSize); in mapping() 161 IO.mapOptional("AddrSize", DebugRanges.AddrSize); in mapping() 191 IO.mapOptional("AddrSize", Unit.AddrSize); in mapping() 265 IO.mapOptional("AddressSize", AddrTable.AddrSize); in mapping() 320 IO.mapOptional("AddressSize", ListTable.AddrSize); in mapping()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugRnglists.cpp | 185 .dump(OS, AddrSize, DumpOpts); in dump() 202 uint64_t Tombstone = dwarf::computeTombstoneAddress(AddrSize); in dump() 215 DWARFFormValue::dumpAddress(OS << ' ', AddrSize, Value0); in dump() 223 DWARFFormValue::dumpAddress(OS << ' ', AddrSize, Value0); in dump() 226 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump() 230 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump() 233 .dump(OS, AddrSize, DumpOpts); in dump() 238 DWARFAddressRange(Value0, Value1).dump(OS, AddrSize, DumpOpts); in dump() 241 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump() 249 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump() [all …]
|
| H A D | DWARFDebugAddr.cpp | 23 AddrSize, errc::not_supported, "address table at offset 0x%" PRIx64, in extractAddresses() 26 if (DataSize % AddrSize != 0) { in extractAddresses() 32 Offset, DataSize, AddrSize); in extractAddresses() 35 size_t Count = DataSize / AddrSize; in extractAddresses() 38 Addrs.push_back(Data.getRelocatedValue(AddrSize, OffsetPtr)); in extractAddresses() 79 AddrSize = Data.getU8(OffsetPtr); in extractV5() 97 if (CUAddrSize && AddrSize != CUAddrSize) { in extractV5() 102 Offset, AddrSize, CUAddrSize)); in extractV5() 116 AddrSize = CUAddrSize; in extractPreStandard() 145 << format(", addr_size = 0x%2.2" PRIx8, AddrSize) in dump() [all …]
|
| H A D | DWARFDebugArangeSet.cpp | 74 HeaderData.AddrSize = data.getU8(offset_ptr, &Err); in extract() 92 HeaderData.AddrSize, errc::invalid_argument, in extract() 105 const uint32_t tuple_size = HeaderData.AddrSize * 2; in extract() 134 assert(sizeof(arangeDescriptor.Address) >= HeaderData.AddrSize); in extract() 139 arangeDescriptor.Address = data.getUnsigned(offset_ptr, HeaderData.AddrSize); in extract() 140 arangeDescriptor.Length = data.getUnsigned(offset_ptr, HeaderData.AddrSize); in extract() 171 << format("addr_size = 0x%2.2x, ", HeaderData.AddrSize) in dump() 175 Desc.dump(OS, HeaderData.AddrSize); in dump()
|
| H A D | DWARFListTable.cpp | 48 HeaderData.AddrSize = Data.getU8(OffsetPtr); in extract() 59 HeaderData.AddrSize, errc::not_supported, in extract() 73 Data.setAddressSize(HeaderData.AddrSize); in extract() 89 HeaderData.Version, HeaderData.AddrSize, HeaderData.SegSize, in dump()
|
| /llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/ |
| H A D | DwarfUtils.cpp | 35 Triple llvm::dwarf::utils::getDefaultTargetTripleForAddrSize(uint8_t AddrSize) { in getDefaultTargetTripleForAddrSize() argument 38 assert((AddrSize == 4 || AddrSize == 8) && in getDefaultTargetTripleForAddrSize() 43 if (AddrSize == 8 && T.isArch32Bit()) in getDefaultTargetTripleForAddrSize() 45 if (AddrSize == 4 && T.isArch64Bit()) in getDefaultTargetTripleForAddrSize()
|
| H A D | DwarfGenerator.h | 154 const uint8_t AddrSize; /// The size in bytes of an address for this unit. variable 158 : DG(D), DU(dwarf::DW_TAG_compile_unit), Version(V), AddrSize(A) {} in CompileUnit() 164 uint16_t getAddressSize() const { return AddrSize; } in getAddressSize() 181 LineTable(uint16_t Version, dwarf::DwarfFormat Format, uint8_t AddrSize, 183 : Version(Version), Format(Format), AddrSize(AddrSize), SegSize(SegSize) { in Version() 234 uint8_t AddrSize; variable
|
| H A D | DWARFFormValueTest.cpp | 130 std::tie(Fm, Version, AddrSize, Dwarf, InitialData, ExpectedSkipped, in SetUp() 137 ", AddrSize = " + std::to_string(uint32_t(AddrSize)) + in doSkipValueTest() 146 DWARFDataExtractor Data(Buf, sys::IsLittleEndianHost, AddrSize); in doSkipValueTest() 149 {Version, AddrSize, Dwarf}), in doSkipValueTest() 156 uint8_t AddrSize; member
|
| H A D | DwarfUtils.h | 21 Triple getDefaultTargetTripleForAddrSize(uint8_t AddrSize);
|
| /llvm-project-15.0.7/llvm/unittests/BinaryFormat/ |
| H A D | DwarfTest.cpp | 144 Optional<uint8_t> AddrSize; in TEST() local 149 AddrSize = getFixedFormByteSize(DW_FORM_ref_addr, Params_2_4_32); in TEST() 151 EXPECT_TRUE(AddrSize.has_value()); in TEST() 152 EXPECT_EQ(*RefSize, *AddrSize); in TEST() 157 AddrSize = getFixedFormByteSize(DW_FORM_ref_addr, Params_2_8_32); in TEST() 159 EXPECT_TRUE(AddrSize.has_value()); in TEST() 160 EXPECT_EQ(*RefSize, *AddrSize); in TEST()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | dwarf2yaml.cpp | 76 AddrTables.back().AddrSize = AddrTable.getAddressSize(); in dumpDebugAddr() 119 Range.AddrSize = Set.getHeader().AddrSize; in dumpDebugARanges() 137 uint8_t AddrSize = 0; in dumpDebugRanges() local 140 if (AddrSize == 0) in dumpDebugRanges() 141 AddrSize = CUAddrSize; in dumpDebugRanges() 142 else if (CUAddrSize != AddrSize) in dumpDebugRanges() 148 DCtx.isLittleEndian(), AddrSize); in dumpDebugRanges() 156 YamlRanges.AddrSize = AddrSize; in dumpDebugRanges() 229 NewUnit.AddrSize = CU->getAddressByteSize(); in dumpDebugInfo()
|
| /llvm-project-15.0.7/llvm/test/tools/obj2yaml/ELF/DWARF/ |
| H A D | debug-ranges.yaml | 71 # BASIC-NEXT: AddrSize: [[ADDRSIZE]] 78 # BASIC-NEXT: AddrSize: [[ADDRSIZE]] 94 AddrSize: [[ADDRSIZE1=<none>]] 96 AddrSize: [[ADDRSIZE2=<none>]] 98 - AddrSize: [[ADDRSIZE3=<none>]] 104 - AddrSize: [[ADDRSIZE4=<none>]] 198 # COMMON-NEXT: AddrSize: 0x8 222 AddrSize: 8
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCDwarf.cpp | 844 int Pad = 2 * AddrSize - (Length & (2 * AddrSize - 1)); in EmitGenDwarfAranges() 845 if (Pad == 2 * AddrSize) in EmitGenDwarfAranges() 853 Length += 2 * AddrSize; in EmitGenDwarfAranges() 872 MCOS->emitInt8(AddrSize); in EmitGenDwarfAranges() 891 MCOS->emitValue(Addr, AddrSize); in EmitGenDwarfAranges() 896 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges() 897 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges() 942 MCOS->emitInt8(AddrSize); in EmitGenDwarfInfo() 953 MCOS->emitInt8(AddrSize); in EmitGenDwarfInfo() 996 MCOS->emitValue(End, AddrSize); in EmitGenDwarfInfo() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugAddr.h | 37 uint8_t AddrSize; variable 85 uint8_t getAddressSize() const { return AddrSize; } in getAddressSize()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AddressPool.cpp | 27 static const uint8_t AddrSize = Asm.getDataLayout().getPointerSize(); in emitHeader() local 34 Asm.emitInt8(AddrSize); in emitHeader()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/X86/ |
| H A D | verify_cu_dont_share_line_table.yaml | 29 AddrSize: 8 38 AddrSize: 8
|
| H A D | verify_cu_ranges.yaml | 179 AddrSize: 0x08 187 AddrSize: 8
|
| H A D | empty-CU.s | 10 .byte 4 # AddrSize
|
| /llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/DWARF/ |
| H A D | debug-aranges.yaml | 28 ## | | | +- AddrSize (1-byte) 0x04 43 ## | | | +- AddrSize (1-byte) 0x08 103 ## | | | +- AddrSize (1-byte) 0x04 118 ## | | | +- AddrSize (1-byte) 0x08 158 ## | +- AddrSize (1-byte) 0x04 169 ## | | | +- AddrSize (1-byte) 0x08 213 ## | +- AddrSize (1-byte) 0x04 224 ## | | | +- AddrSize (1-byte) 0x08 404 ## to 'AddrSize' when the 'Descriptors' list is empty. 430 ## 'AddrSize' when the 'Descriptors' list isn't empty.
|
| H A D | debug-ranges.yaml | 76 - AddrSize: 0x04 371 ## to 'AddrSize' when the 'Entries' list is empty. 379 ## ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ terminating entry (2*AddrSize=14-byte) 388 - AddrSize: 0x07 392 ## 'AddrSize' when the 'Entries' list isn't empty. 406 - AddrSize: 0x07
|
| /llvm-project-15.0.7/llvm/test/ObjectYAML/MachO/ |
| H A D | DWARF-debug_info.yaml | 397 AddrSize: 8 518 # DWARF32-NEXT: AddrSize: 8 588 # DWARF32-YAML-NEXT: AddrSize: 8 655 AddrSize: 8 672 # DWARF64-YAML-NEXT: AddrSize: 8 722 # MULTI-TABLES-NEXT: AddrSize: 8 731 # MULTI-TABLES-NEXT: AddrSize: 8 740 # MULTI-TABLES-NEXT: AddrSize: 8 749 # MULTI-TABLES-NEXT: AddrSize: 8
|
| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | DWARFYAML.h | 58 Optional<yaml::Hex8> AddrSize; member 73 Optional<llvm::yaml::Hex8> AddrSize; member 113 Optional<uint8_t> AddrSize; member 164 Optional<yaml::Hex8> AddrSize; member 203 Optional<yaml::Hex8> AddrSize; member
|
| /llvm-project-15.0.7/llvm/test/tools/dsymutil/Inputs/ |
| H A D | empty-CU.s | 5 .byte 4 # AddrSize
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/DWARF/x86/ |
| H A D | dead-code-filtering.yaml | 57 AddrSize: 0x8 96 AddrSize: 8
|