/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugAddr.cpp | 25 uint8_t AddrSize, in extract() argument 74 HeaderData.AddrSize = Data.getU8(OffsetPtr); in extract() 79 HeaderData.AddrSize = AddrSize; in extract() 106 if (HeaderData.AddrSize != 4 && HeaderData.AddrSize != 8) in extract() 110 HeaderOffset, HeaderData.AddrSize); in extract() 111 if (HeaderData.AddrSize != AddrSize && AddrSize != 0) in extract() 116 HeaderOffset, HeaderData.AddrSize, AddrSize); in extract() 124 if (DataSize % HeaderData.AddrSize != 0) { in extract() 130 HeaderOffset, DataSize, HeaderData.AddrSize); in extract() 132 Data.setAddressSize(HeaderData.AddrSize); in extract() [all …]
|
D | DWARFDebugArangeSet.cpp | 56 HeaderData.AddrSize = data.getU8(offset_ptr); in extract() 61 (HeaderData.AddrSize != 4 && HeaderData.AddrSize != 8)) { in extract() 71 const uint32_t tuple_size = HeaderData.AddrSize * 2; in extract() 83 assert(sizeof(arangeDescriptor.Address) >= HeaderData.AddrSize); in extract() 86 arangeDescriptor.Address = data.getUnsigned(offset_ptr, HeaderData.AddrSize); in extract() 87 arangeDescriptor.Length = data.getUnsigned(offset_ptr, HeaderData.AddrSize); in extract() 106 HeaderData.CuOffset, HeaderData.AddrSize, HeaderData.SegSize); in dump() 109 Desc.dump(OS, HeaderData.AddrSize); in dump()
|
D | DWARFDebugRnglists.cpp | 153 void RangeListEntry::dump(raw_ostream &OS, uint8_t AddrSize, in dump() argument 157 uint8_t AddrSize, DIDumpOptions DumpOpts) { in dump() argument 161 .dump(OS, AddrSize, DumpOpts); in dump() 187 OS << format(" 0x%*.*" PRIx64, AddrSize * 2, AddrSize * 2, Value0); in dump() 190 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump() 191 DWARFAddressRange(Value0, Value0 + Value1).dump(OS, AddrSize, DumpOpts); in dump() 194 PrintRawEntry(OS, *this, AddrSize, DumpOpts); in dump() 196 .dump(OS, AddrSize, DumpOpts); in dump() 199 DWARFAddressRange(Value0, Value1).dump(OS, AddrSize, DumpOpts); in dump()
|
D | DWARFListTable.cpp | 52 HeaderData.AddrSize = Data.getU8(OffsetPtr); in extract() 61 if (HeaderData.AddrSize != 4 && HeaderData.AddrSize != 8) in extract() 64 SectionName.data(), HeaderOffset, HeaderData.AddrSize); in extract() 75 Data.setAddressSize(HeaderData.AddrSize); in extract() 90 HeaderData.AddrSize, HeaderData.SegSize, HeaderData.OffsetEntryCount); in dump()
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugArangeSet.cpp | 46 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()
|
D | DWARFFormValue.cpp | 27 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 …]
|
D | DWARFUnit.cpp | 57 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/ |
D | DWARFDebugArangeSet.cpp | 72 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()
|
D | DWARFCompileUnit.cpp | 35 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()
|
D | DWARFCompileUnit.h | 29 uint8_t AddrSize; variable 66 uint8_t getAddressByteSize() const { return AddrSize; } in getAddressByteSize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/BinaryFormat/ |
D | DwarfTest.cpp | 145 Optional<uint8_t> AddrSize; in TEST() local 150 AddrSize = getFixedFormByteSize(DW_FORM_ref_addr, Params_2_4_32); in TEST() 152 EXPECT_TRUE(AddrSize.hasValue()); in TEST() 153 EXPECT_EQ(*RefSize, *AddrSize); in TEST() 158 AddrSize = getFixedFormByteSize(DW_FORM_ref_addr, Params_2_8_32); in TEST() 160 EXPECT_TRUE(AddrSize.hasValue()); in TEST() 161 EXPECT_EQ(*RefSize, *AddrSize); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/ |
D | DwarfUtils.cpp | 29 Triple llvm::dwarf::utils::getHostTripleForAddrSize(uint8_t AddrSize) { in getHostTripleForAddrSize() argument 32 if (AddrSize == 8 && T.isArch32Bit()) in getHostTripleForAddrSize() 34 if (AddrSize == 4 && T.isArch64Bit()) in getHostTripleForAddrSize()
|
D | DwarfGenerator.h | 179 LineTable(uint16_t Version, dwarf::DwarfFormat Format, uint8_t AddrSize, 181 : Version(Version), Format(Format), AddrSize(AddrSize), SegSize(SegSize) { in Version() 229 uint8_t AddrSize; variable
|
D | DwarfUtils.h | 22 Triple getHostTripleForAddrSize(uint8_t AddrSize);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCDwarf.cpp | 752 unsigned AddrSize = asmInfo->getCodePointerSize(); in FixedEncode() local 755 encodeULEB128(1 + AddrSize, OS); in FixedEncode() 759 *Size = AddrSize; in FixedEncode() 762 FillData.insert(FillData.begin(), AddrSize, 0); in FixedEncode() 763 OS.write(reinterpret_cast<char *>(FillData.data()), AddrSize); in FixedEncode() 863 int AddrSize = asmInfo->getCodePointerSize(); in EmitGenDwarfAranges() local 864 int Pad = 2 * AddrSize - (Length & (2 * AddrSize - 1)); in EmitGenDwarfAranges() 865 if (Pad == 2 * AddrSize) in EmitGenDwarfAranges() 871 Length += 2 * AddrSize * Sections.size(); in EmitGenDwarfAranges() 873 Length += 2 * AddrSize; in EmitGenDwarfAranges() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFDebugAddr.h | 41 uint8_t AddrSize; member 59 uint16_t Version, uint8_t AddrSize, 63 uint8_t getAddrSize() const { return HeaderData.AddrSize; } in getAddrSize()
|
D | DWARFDebugRnglists.h | 37 void dump(raw_ostream &OS, uint8_t AddrSize, uint8_t MaxEncodingStringLength,
|
/external/llvm/lib/MC/ |
D | MCDwarf.cpp | 582 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | AddressPool.cpp | 29 static const uint8_t AddrSize = Asm.getDataLayout().getPointerSize(); in emitHeader() local 35 + AddrSize * Pool.size(); // entries in emitHeader() 38 Asm.emitInt8(AddrSize); in emitHeader()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/ |
D | DWARFEmitter.cpp | 101 writeInteger((uint8_t)Range.AddrSize, OS, DI.IsLittleEndian); in EmitDebugAranges() 105 auto FirstDescriptor = alignTo(HeaderSize, Range.AddrSize * 2); in EmitDebugAranges() 109 writeVariableSizedInteger(Descriptor.Address, Range.AddrSize, OS, in EmitDebugAranges() 111 writeVariableSizedInteger(Descriptor.Length, Range.AddrSize, OS, in EmitDebugAranges() 114 ZeroFillBytes(OS, Range.AddrSize * 2); in EmitDebugAranges() 146 writeInteger((uint8_t)CU.AddrSize, OS, DebugInfo.IsLittleEndian); in onStartCompileUnit() 150 writeInteger((uint8_t)CU.AddrSize, OS, DebugInfo.IsLittleEndian); in onStartCompileUnit() 249 writeVariableSizedInteger(Op.Data, DI.CompileUnits[0].AddrSize, OS, in EmitDebugLine()
|
D | DWARFVisitor.cpp | 43 return Unit.AddrSize; in getRefSize() 69 onVariableSizeValue(FormVal->Value, Unit.AddrSize); in traverseDebugInfo()
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 89 uint8_t AddrSize); 91 static ArrayRef<uint8_t> getFixedFormSizes(uint8_t AddrSize,
|
D | DWARFUnit.h | 124 uint8_t AddrSize; variable 174 return DataExtractor(InfoSection.Data, isLittleEndian, AddrSize); in getDebugInfoExtractor() 197 uint8_t getAddressByteSize() const { return AddrSize; } in getAddressByteSize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/ |
D | Dwarf.h | 497 uint8_t AddrSize; member 505 return AddrSize; in getRefAddrByteSize() 520 explicit operator bool() const { return Version && AddrSize; }
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/dsymutil/Inputs/ |
D | empty-CU.s | 5 .byte 4 # AddrSize
|