Home
last modified time | relevance | path

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

/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugArangeSet.cpp46 HeaderData.AddrSize = data.getU8(offset_ptr); in extract()
51 (HeaderData.AddrSize != 4 && HeaderData.AddrSize != 8)) { in extract()
61 const uint32_t tuple_size = HeaderData.AddrSize * 2; in extract()
73 assert(sizeof(arangeDescriptor.Address) >= HeaderData.AddrSize); in extract()
76 arangeDescriptor.Address = data.getUnsigned(offset_ptr, HeaderData.AddrSize); in extract()
77 arangeDescriptor.Length = data.getUnsigned(offset_ptr, HeaderData.AddrSize); in extract()
96 HeaderData.CuOffset, HeaderData.AddrSize, HeaderData.SegSize); in dump()
98 const uint32_t hex_width = HeaderData.AddrSize * 2; in dump()
DDWARFFormValue.cpp27 uint8_t getRefAddrSize(uint8_t AddrSize, uint16_t Version) { in getRefAddrSize() argument
29 return (Version == 2) ? AddrSize : 4; in getRefAddrSize()
32 template <uint8_t AddrSize, uint8_t RefAddrSize>
36 AddrSize, // 0x01 DW_FORM_addr in makeFixedFormSizesArrayRef()
66 ArrayRef<uint8_t> DWARFFormValue::getFixedFormSizes(uint8_t AddrSize, in getFixedFormSizes() argument
68 uint8_t RefAddrSize = getRefAddrSize(AddrSize, Version); in getFixedFormSizes()
69 if (AddrSize == 4 && RefAddrSize == 4) in getFixedFormSizes()
71 if (AddrSize == 4 && RefAddrSize == 8) in getFixedFormSizes()
73 if (AddrSize == 8 && RefAddrSize == 4) in getFixedFormSizes()
75 if (AddrSize == 8 && RefAddrSize == 8) in getFixedFormSizes()
[all …]
DDWARFUnit.cpp57 uint32_t Offset = AddrOffsetSectionBase + Index * AddrSize; in getAddrOffsetSectionItem()
58 if (AddrOffsetSection.size() < Offset + AddrSize) in getAddrOffsetSectionItem()
60 DataExtractor DA(AddrOffsetSection, isLittleEndian, AddrSize); in getAddrOffsetSectionItem()
92 AddrSize = debug_info.getU8(offset_ptr); in extractImpl()
96 bool AddrSizeOK = AddrSize == 4 || AddrSize == 8; in extractImpl()
125 DataExtractor RangesData(RangeSection, isLittleEndian, AddrSize); in extractRangeList()
135 AddrSize = 0; in clear()
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFDebugArangeSet.cpp72 Header.AddrSize = data.getU8(offset_ptr); in extract()
77 (Header.AddrSize != 4 && Header.AddrSize != 8)) { in extract()
87 const uint32_t tuple_size = Header.AddrSize * 2; in extract()
97 assert(sizeof(arangeDescriptor.Address) >= Header.AddrSize); in extract()
100 arangeDescriptor.Address = data.getUnsigned(offset_ptr, Header.AddrSize); in extract()
101 arangeDescriptor.Length = data.getUnsigned(offset_ptr, Header.AddrSize); in extract()
120 Header.CuOffset, Header.AddrSize, Header.SegSize); in dump()
122 const uint32_t hex_width = Header.AddrSize * 2; in dump()
DDWARFCompileUnit.cpp35 AddrSize = debug_info.getU8(offset_ptr); in extract()
40 bool addrSizeOK = AddrSize == 4 || AddrSize == 8; in extract()
66 AddrSize = debug_info_data.getU8 (&offset); in extract()
69 bool addrSizeOK = AddrSize == 4 || AddrSize == 8; in extract()
83 AddrSize = 0; in clear()
93 << " addr_size = " << format("0x%02x", AddrSize) in dump()
DDWARFCompileUnit.h29 uint8_t AddrSize; variable
66 uint8_t getAddressByteSize() const { return AddrSize; } in getAddressByteSize()
DDWARFDebugArangeSet.h33 uint8_t AddrSize; member
/external/llvm/lib/MC/
DMCDwarf.cpp582 int AddrSize = asmInfo->getPointerSize(); in EmitGenDwarfAranges() local
583 int Pad = 2 * AddrSize - (Length & (2 * AddrSize - 1)); in EmitGenDwarfAranges()
584 if (Pad == 2 * AddrSize) in EmitGenDwarfAranges()
590 Length += 2 * AddrSize * Sections.size(); in EmitGenDwarfAranges()
592 Length += 2 * AddrSize; in EmitGenDwarfAranges()
608 MCOS->EmitIntValue(AddrSize, 1); in EmitGenDwarfAranges()
627 MCOS->EmitValue(Addr, AddrSize); in EmitGenDwarfAranges()
628 emitAbsValue(*MCOS, Size, AddrSize); in EmitGenDwarfAranges()
632 MCOS->EmitIntValue(0, AddrSize); in EmitGenDwarfAranges()
633 MCOS->EmitIntValue(0, AddrSize); in EmitGenDwarfAranges()
[all …]
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFFormValue.h89 uint8_t AddrSize);
91 static ArrayRef<uint8_t> getFixedFormSizes(uint8_t AddrSize,
DDWARFUnit.h124 uint8_t AddrSize; variable
174 return DataExtractor(InfoSection.Data, isLittleEndian, AddrSize); in getDebugInfoExtractor()
197 uint8_t getAddressByteSize() const { return AddrSize; } in getAddressByteSize()
DDWARFDebugArangeSet.h34 uint8_t AddrSize; member
/external/llvm/utils/TableGen/
DX86DisassemblerTables.h256 unsigned AddrSize);
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp1089 void DwarfStreamer::emitFDE(uint32_t CIEOffset, uint32_t AddrSize, in emitFDE() argument
1093 MS->EmitIntValue(FDEBytes.size() + 4 + AddrSize, 4); in emitFDE()
1095 MS->EmitIntValue(Address, AddrSize); in emitFDE()
1097 FrameSectionSize += FDEBytes.size() + 8 + AddrSize; in emitFDE()
3121 unsigned AddrSize) { in patchFrameInfoForObject() argument
3149 uint32_t Loc = Data.getUnsigned(&InputOffset, AddrSize); in patchFrameInfoForObject()
3190 unsigned FDERemainingBytes = InitialLength - (4 + AddrSize); in patchFrameInfoForObject()
3191 Streamer->emitFDE(IteratorInserted.first->getValue(), AddrSize, in patchFrameInfoForObject()
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp139 uint8_t AddrSize = InfoData.getU8(&Offset); in getCUIdentifiers() local
177 DWARFFormValue::skipValue(Form, InfoData, &Offset, Version, AddrSize); in getCUIdentifiers()