Home
last modified time | relevance | path

Searched full:addresssize (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRangeList.cpp21 AddressSize = 0; in clear()
32 AddressSize = data.getAddressSize(); in extract()
33 if (AddressSize != 4 && AddressSize != 8) in extract()
35 "invalid address size: %" PRIu8, AddressSize); in extract()
47 if (*offset_ptr != prev_offset + 2 * AddressSize) { in extract()
63 (AddressSize == 4 ? "%08" PRIx64 " %08" PRIx64 " %08" PRIx64 "\n" in dump()
75 uint64_t Tombstone = dwarf::computeTombstoneAddress(AddressSize) - 1; in getAbsoluteRanges()
77 if (RLE.isBaseAddressSelectionEntry(AddressSize)) { in getAbsoluteRanges()
DDWARFAddressRange.cpp16 void DWARFAddressRange::dump(raw_ostream &OS, uint32_t AddressSize, in dump() argument
21 DWARFFormValue::dumpAddress(OS, AddressSize, LowPC); in dump()
23 DWARFFormValue::dumpAddress(OS, AddressSize, HighPC); in dump()
31 R.dump(OS, /* AddressSize */ 8); in operator <<()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFExpression.h90 bool extract(DataExtractor Data, uint16_t Version, uint8_t AddressSize,
110 !Op.extract(Expr->Data, Expr->Version, Expr->AddressSize, Offset); in iterator()
118 !Op.extract(Expr->Data, Expr->Version, Expr->AddressSize, Offset);
130 DWARFExpression(DataExtractor Data, uint16_t Version, uint8_t AddressSize) in DWARFExpression() argument
131 : Data(Data), Version(Version), AddressSize(AddressSize) { in DWARFExpression()
132 assert(AddressSize == 8 || AddressSize == 4 || AddressSize == 2); in DWARFExpression()
146 uint8_t AddressSize; variable
DDWARFDebugRangeList.h52 bool isBaseAddressSelectionEntry(uint8_t AddressSize) const { in isBaseAddressSelectionEntry()
53 assert(AddressSize == 4 || AddressSize == 8); in isBaseAddressSelectionEntry()
54 if (AddressSize == 4) in isBaseAddressSelectionEntry()
63 uint8_t AddressSize; variable
DDWARFDataExtractor.h28 bool IsLittleEndian, uint8_t AddressSize) in DWARFDataExtractor() argument
29 : DataExtractor(Section.Data, IsLittleEndian, AddressSize), Obj(&Obj), in DWARFDataExtractor()
33 DWARFDataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DWARFDataExtractor() argument
34 : DataExtractor(Data, IsLittleEndian, AddressSize) {} in DWARFDataExtractor()
/external/llvm-project/llvm/lib/DWARFLinker/
DDWARFStreamer.cpp287 unsigned AddressSize) { in emitRangesEntries() argument
293 if (Range.isBaseAddressSelectionEntry(AddressSize)) { in emitRangesEntries()
306 MS->emitIntValue(Range.StartAddress + PcOffset, AddressSize); in emitRangesEntries()
307 MS->emitIntValue(Range.EndAddress + PcOffset, AddressSize); in emitRangesEntries()
308 RangesSectionSize += 2 * AddressSize; in emitRangesEntries()
312 MS->emitIntValue(0, AddressSize); in emitRangesEntries()
313 MS->emitIntValue(0, AddressSize); in emitRangesEntries()
314 RangesSectionSize += 2 * AddressSize; in emitRangesEntries()
324 unsigned AddressSize = Unit.getOrigUnit().getAddressByteSize(); in emitUnitRangesEntries() local
352 unsigned TupleSize = AddressSize * 2; in emitUnitRangesEntries()
[all …]
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFExpression.h94 bool extract(DataExtractor Data, uint8_t AddressSize, uint64_t Offset,
115 !Op.extract(Expr->Data, Expr->AddressSize, Offset, Expr->Format); in iterator()
123 !Op.extract(Expr->Data, Expr->AddressSize, Offset, Expr->Format);
139 DWARFExpression(DataExtractor Data, uint8_t AddressSize,
141 : Data(Data), AddressSize(AddressSize), Format(Format) { in Data()
142 assert(AddressSize == 8 || AddressSize == 4 || AddressSize == 2); in Data()
162 uint8_t AddressSize; variable
DDWARFDataExtractor.h29 bool IsLittleEndian, uint8_t AddressSize) in DWARFDataExtractor() argument
30 : DataExtractor(Section.Data, IsLittleEndian, AddressSize), Obj(&Obj), in DWARFDataExtractor()
34 DWARFDataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DWARFDataExtractor() argument
35 : DataExtractor(Data, IsLittleEndian, AddressSize) {} in DWARFDataExtractor()
37 uint8_t AddressSize) in DWARFDataExtractor() argument
40 IsLittleEndian, AddressSize) {} in DWARFDataExtractor()
DDWARFDebugRangeList.h52 bool isBaseAddressSelectionEntry(uint8_t AddressSize) const { in isBaseAddressSelectionEntry()
53 assert(AddressSize == 4 || AddressSize == 8); in isBaseAddressSelectionEntry()
54 if (AddressSize == 4) in isBaseAddressSelectionEntry()
63 uint8_t AddressSize; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRangeList.cpp21 AddressSize = 0; in clear()
32 AddressSize = data.getAddressSize(); in extract()
33 if (AddressSize != 4 && AddressSize != 8) in extract()
35 "invalid address size: %" PRIu8, AddressSize); in extract()
47 if (*offset_ptr != prev_offset + 2 * AddressSize) { in extract()
63 (AddressSize == 4 ? "%08" PRIx64 " %08" PRIx64 " %08" PRIx64 "\n" in dump()
74 if (RLE.isBaseAddressSelectionEntry(AddressSize)) { in getAbsoluteRanges()
DDWARFAddressRange.cpp16 void DWARFAddressRange::dump(raw_ostream &OS, uint32_t AddressSize, in dump() argument
21 OS << format("0x%*.*" PRIx64 ", ", AddressSize * 2, AddressSize * 2, LowPC) in dump()
22 << format("0x%*.*" PRIx64, AddressSize * 2, AddressSize * 2, HighPC); in dump()
30 R.dump(OS, /* AddressSize */ 8); in operator <<()
DDWARFDebugArangeSet.cpp20 uint32_t AddressSize) const { in dump()
21 OS << format("[0x%*.*" PRIx64 ", ", AddressSize * 2, AddressSize * 2, Address) in dump()
22 << format(" 0x%*.*" PRIx64 ")", AddressSize * 2, AddressSize * 2, in dump()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRangeList.cpp18 AddressSize = 0; in clear()
26 AddressSize = data.getAddressSize(); in extract()
27 if (AddressSize != 4 && AddressSize != 8) in extract()
36 if (*offset_ptr != prev_offset + 2 * AddressSize) { in extract()
49 const char *format_str = (AddressSize == 4 in dump()
61 if (RLE.isBaseAddressSelectionEntry(AddressSize)) { in getAbsoluteRanges()
DDWARFDebugLoc.cpp37 void DWARFDebugLoc::parse(DataExtractor data, unsigned AddressSize) { in parse() argument
39 while (data.isValidOffset(Offset+AddressSize-1)) { in parse()
49 E.Begin = data.getUnsigned(&Offset, AddressSize); in parse()
55 E.End = data.getUnsigned(&Offset, AddressSize); in parse()
/external/llvm/test/tools/llvm-readobj/
Dfile-headers.test33 COFF-ARM-NEXT: AddressSize: 32bit
48 COFF32-NEXT: AddressSize: 32bit
63 COFF64-NEXT: AddressSize: 64bit
78 ELF32-NEXT: AddressSize: 32bit
109 ELF64-NEXT: AddressSize: 64bit
140 MACHO32-NEXT: AddressSize: 32bit
156 MACHO64-NEXT: AddressSize: 64bit
173 MACHO-PPC-NEXT: AddressSize: 32bit
189 MACHO-PPC64-NEXT: AddressSize: 64bit
206 MACHO-ARM-NEXT: AddressSize: 32bit
[all …]
Dmacho-universal-x86_64.i386.test15 MULTIHEADER: AddressSize: 64bit
34 MULTIHEADER: AddressSize: 32bit
55 MULTISECTIONS: AddressSize: 64bit
111 MULTISECTIONS: AddressSize: 32bit
152 MULTIHEADER-ARCHIVE: AddressSize: 64bit
168 MULTIHEADER-ARCHIVE: AddressSize: 32bit
184 MULTISECTIONS-ARCHIVE: AddressSize: 64bit
260 MULTISECTIONS-ARCHIVE: AddressSize: 32bit
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugRangeList.h49 bool isBaseAddressSelectionEntry(uint8_t AddressSize) const { in isBaseAddressSelectionEntry()
50 assert(AddressSize == 4 || AddressSize == 8); in isBaseAddressSelectionEntry()
51 if (AddressSize == 4) in isBaseAddressSelectionEntry()
61 uint8_t AddressSize; variable
/external/google-breakpad/src/common/dwarf/
Dbytereader.cc127 uint64_t skew = section_base_ & (AddressSize() - 1); in ReadEncodedPointer()
131 uint64_t aligned = (offset + AddressSize() - 1) & -AddressSize(); in ReadEncodedPointer()
135 *len = aligned_buffer - buffer + AddressSize(); in ReadEncodedPointer()
154 *len = AddressSize(); in ReadEncodedPointer()
238 if (AddressSize() == 4) in ReadEncodedPointer()
241 assert(AddressSize() == sizeof(uint64_t)); in ReadEncodedPointer()
/external/llvm-project/llvm/test/tools/obj2yaml/ELF/DWARF/
Ddebug-addr.yaml37 # BASIC-NEXT: AddressSize: [[ADDRSIZE1]]
44 # BASIC-NEXT: AddressSize: [[ADDRSIZE1]]
50 # BASIC-NEXT: AddressSize: [[ADDRSIZE2]]
57 # BASIC-NEXT: AddressSize: [[ADDRSIZE2]]
83 AddressSize: [[ADDRSIZE]]
90 AddressSize: [[ADDRSIZE]]
141 # COMMON-NEXT: AddressSize: 0x8
Ddebug-aranges.yaml31 # BASIC-NEXT: AddressSize: [[ADDRSIZE]]
41 # BASIC-NEXT: AddressSize: [[ADDRSIZE]]
96 # ARANGE-NEXT: AddressSize: 0x8
131 # ADDRSIZE-NEXT: AddressSize: [[ADDRSIZE]]
146 AddressSize: [[ADDRSIZE=0x4]]
/external/llvm-project/llvm/test/tools/llvm-readobj/MachO/
Duniversal-x86_64.i386.test17 MULTIHEADER: AddressSize: 64bit
36 MULTIHEADER: AddressSize: 32bit
57 MULTISECTIONS: AddressSize: 64bit
113 MULTISECTIONS: AddressSize: 32bit
155 MULTIHEADER-ARCHIVE: AddressSize: 64bit
172 MULTIHEADER-ARCHIVE: AddressSize: 32bit
189 MULTISECTIONS-ARCHIVE: AddressSize: 64bit
266 MULTISECTIONS-ARCHIVE: AddressSize: 32bit
Dfile-headers.test8 # I386-NEXT:AddressSize: 32bit
39 # X86-64-NEXT:AddressSize: 64bit
72 # PPC-NEXT:AddressSize: 32bit
104 # PPC64-NEXT:AddressSize: 64bit
138 # ARM-NEXT:AddressSize: 32bit
/external/llvm-project/llvm/test/tools/llvm-readobj/XCOFF/
Dbasic.test19 # FILEHEADER-NEXT: AddressSize: 32bit
33 # FILEHEADER64-NEXT: AddressSize: 64bit
47 # NEGTIME-NEXT: AddressSize: 32bit
61 # NEGSYMCOUNT-NEXT: AddressSize: 32bit
90 # RELOCSEXP-NEXT: AddressSize: 32bit
/external/llvm-project/llvm/test/tools/yaml2obj/ELF/DWARF/
Ddebug-addr.yaml150 AddressSize: 0x04
154 ## 2) Only address (8-byte) exists (AddressSize is derived from FileHeader).
161 AddressSize: 0x00
168 AddressSize: 0x00
175 AddressSize: 0x04
184 ## 6) Both address (8-byte) and segment (8-byte) exist (AddressSize is derived from FileHeader).
196 AddressSize: 0x04
205 ## 8) Both address (8-byte) and segment (4-byte) exist (AddressSize is derived from FileHeader).
218 AddressSize: 0x04
393 AddressSize: 0x04
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DDataExtractor.h44 uint8_t AddressSize; variable
83 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DataExtractor() argument
84 : Data(Data), IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {} in DataExtractor()
86 uint8_t AddressSize) in DataExtractor() argument
89 IsLittleEndian(IsLittleEndian), AddressSize(AddressSize) {} in DataExtractor()
96 uint8_t getAddressSize() const { return AddressSize; } in getAddressSize()
98 void setAddressSize(uint8_t Size) { AddressSize = Size; } in setAddressSize()
227 return getUnsigned(offset_ptr, AddressSize); in getAddress()
233 uint64_t getAddress(Cursor &C) const { return getUnsigned(C, AddressSize); } in getAddress()
563 return isValidOffsetForDataOfSize(offset, AddressSize); in isValidOffsetForAddress()

12345678910>>...12