Home
last modified time | relevance | path

Searched refs:AddrSize (Results 1 – 25 of 35) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp144 uint8_t AddrSize; in emitDebugAranges() local
145 if (Range.AddrSize) in emitDebugAranges()
146 AddrSize = *Range.AddrSize; in emitDebugAranges()
148 AddrSize = DI.Is64BitAddrSize ? 8 : 4; in emitDebugAranges()
159 const uint64_t PaddedHeaderLength = alignTo(HeaderLength, AddrSize * 2); in emitDebugAranges()
165 Length += AddrSize * 2 * (Range.Descriptors.size() + 1); in emitDebugAranges()
171 writeInteger((uint8_t)AddrSize, OS, DI.IsLittleEndian); in emitDebugAranges()
176 if (Error Err = writeVariableSizedInteger(Descriptor.Address, AddrSize, in emitDebugAranges()
181 cantFail(writeVariableSizedInteger(Descriptor.Length, AddrSize, OS, in emitDebugAranges()
184 ZeroFillBytes(OS, AddrSize * 2); in emitDebugAranges()
[all …]
H A DDWARFYAML.cpp147 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()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugRnglists.cpp176 raw_ostream &OS, uint8_t AddrSize, uint8_t MaxEncodingStringLength, in dump() argument
181 uint8_t AddrSize, DIDumpOptions DumpOpts) { in dump() argument
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()
227 DWARFAddressRange(Value0, Value0 + Value1).dump(OS, AddrSize, DumpOpts); in dump()
230 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump()
233 .dump(OS, AddrSize, DumpOpts); in dump()
[all …]
H A DDWARFDebugAddr.cpp23 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 DDWARFDebugArangeSet.cpp74 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 DDWARFListTable.cpp48 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()
H A DDWARFVerifier.cpp126 uint8_t AddrSize = 0; in verifyUnitHeader() local
144 AddrSize = DebugInfoData.getU8(Offset); in verifyUnitHeader()
150 AddrSize = DebugInfoData.getU8(Offset); in verifyUnitHeader()
158 ValidAddrSize = DWARFContext::isAddressSizeSupported(AddrSize); in verifyUnitHeader()
H A DDWARFContext.cpp224 uint8_t AddrSize) { in dumpAddrSection() argument
229 if (Error Err = AddrTable.extract(AddrData, &Offset, Version, AddrSize, in dumpAddrSection()
1736 uint8_t AddrSize, bool IsLittleEndian) in DWARFObjInMemory() argument
2081 uint8_t AddrSize, bool isLittleEndian, in create() argument
2085 std::make_unique<DWARFObjInMemory>(Sections, AddrSize, isLittleEndian); in create()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Ddwarf2yaml.cpp77 AddrTables.back().AddrSize = AddrTable.getAddressSize(); in dumpDebugAddr()
120 Range.AddrSize = Set.getHeader().AddrSize; in dumpDebugARanges()
138 uint8_t AddrSize = 0; in dumpDebugRanges() local
141 if (AddrSize == 0) in dumpDebugRanges()
142 AddrSize = CUAddrSize; in dumpDebugRanges()
143 else if (CUAddrSize != AddrSize) in dumpDebugRanges()
149 DCtx.isLittleEndian(), AddrSize); in dumpDebugRanges()
157 YamlRanges.AddrSize = AddrSize; in dumpDebugRanges()
230 NewUnit.AddrSize = CU->getAddressByteSize(); in dumpDebugInfo()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCDwarf.cpp840 int AddrSize = asmInfo->getCodePointerSize(); in EmitGenDwarfAranges() local
841 int Pad = 2 * AddrSize - (Length & (2 * AddrSize - 1)); in EmitGenDwarfAranges()
842 if (Pad == 2 * AddrSize) in EmitGenDwarfAranges()
848 Length += 2 * AddrSize * Sections.size(); in EmitGenDwarfAranges()
850 Length += 2 * AddrSize; in EmitGenDwarfAranges()
869 MCOS->emitInt8(AddrSize); in EmitGenDwarfAranges()
888 MCOS->emitValue(Addr, AddrSize); in EmitGenDwarfAranges()
889 emitAbsValue(*MCOS, Size, AddrSize); in EmitGenDwarfAranges()
893 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
894 MCOS->emitIntValue(0, AddrSize); in EmitGenDwarfAranges()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugAddr.h37 uint8_t AddrSize; variable
85 uint8_t getAddressSize() const { return AddrSize; } in getAddressSize()
H A DDWARFDebugArangeSet.h38 uint8_t AddrSize; member
H A DDWARFDebugRnglists.h40 dump(raw_ostream &OS, uint8_t AddrSize, uint8_t MaxEncodingStringLength,
H A DDWARFListTable.h65 uint8_t AddrSize; member
93 uint8_t getAddrSize() const { return HeaderData.AddrSize; } in getAddrSize()
H A DDWARFDebugLine.h97 uint8_t getAddressSize() const { return FormParams.AddrSize; } in getAddressSize()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAddressPool.cpp27 static const uint8_t AddrSize = Asm.getDataLayout().getPointerSize(); in emitHeader() local
34 Asm.emitInt8(AddrSize); in emitHeader()
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h59 std::optional<yaml::Hex8> AddrSize; member
74 std::optional<llvm::yaml::Hex8> AddrSize; member
114 std::optional<uint8_t> AddrSize; member
165 std::optional<yaml::Hex8> AddrSize; member
204 std::optional<yaml::Hex8> AddrSize; member
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp34 uint8_t AddrSize = 0; member
44 AddrSize = CU->getAddressByteSize(); in CUInfo()
52 if (AddrSize == 4) in isHighestAddress()
54 else if (AddrSize == 8) in isHighestAddress()
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DX86DisassemblerTables.h265 unsigned AddrSize);
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DDwarf.h733 uint8_t AddrSize; member
744 return AddrSize; in getRefAddrByteSize()
753 explicit operator bool() const { return Version && AddrSize; }
/openbsd-src/gnu/llvm/llvm/include/llvm/DWP/
H A DDWP.h39 uint8_t AddrSize = 0; member
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp909 unsigned AddrSize = Info->VAddrDwords; in convertMIMGInst() local
920 AddrSize = in convertMIMGInst()
926 if (AddrSize > 12) in convertMIMGInst()
927 AddrSize = 16; in convertMIMGInst()
929 if (AddrSize > Info->VAddrDwords) { in convertMIMGInst()
948 if (DstSize == Info->VDataDwords && AddrSize == Info->VAddrDwords) in convertMIMGInst()
952 AMDGPU::getMIMGOpcode(Info->BaseOpcode, Info->MIMGEncoding, DstSize, AddrSize); in convertMIMGInst()
977 if (isGFX10Plus() && !IsNSA && AddrSize != Info->VAddrDwords) { in convertMIMGInst()
1003 assert(AddrSize <= Info->VAddrDwords); in convertMIMGInst()
1004 MI.erase(MI.begin() + VAddr0Idx + AddrSize, in convertMIMGInst()
/openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp777 void DwarfStreamer::emitFDE(uint32_t CIEOffset, uint32_t AddrSize, in emitFDE() argument
781 MS->emitIntValue(FDEBytes.size() + 4 + AddrSize, 4); in emitFDE()
783 MS->emitIntValue(Address, AddrSize); in emitFDE()
785 FrameSectionSize += FDEBytes.size() + 8 + AddrSize; in emitFDE()
/openbsd-src/gnu/llvm/llvm/lib/DWP/
H A DDWP.cpp144 dwarf::FormParams({Header.Version, Header.AddrSize, Header.Format})); in getCUIdentifiers()
347 Header.AddrSize = InfoData.getU8(&Offset); in parseInfoSectionUnitHeader()
361 Header.AddrSize = InfoData.getU8(&Offset); in parseInfoSectionUnitHeader()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/
H A DDIContext.h194 uint8_t AddrSize = 4; // Address byte size to assume when extracting. member

12