Home
last modified time | relevance | path

Searched refs:DataExtractor (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm/lib/Support/
DDataExtractor.cpp17 static T getU(uint32_t *offset_ptr, const DataExtractor *de, in getU()
34 const DataExtractor *de, bool isLittleEndian, const char *Data){ in getUs()
50 uint8_t DataExtractor::getU8(uint32_t *offset_ptr) const { in getU8()
55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const { in getU8()
61 uint16_t DataExtractor::getU16(uint32_t *offset_ptr) const { in getU16()
65 uint16_t *DataExtractor::getU16(uint32_t *offset_ptr, uint16_t *dst, in getU16()
71 uint32_t DataExtractor::getU32(uint32_t *offset_ptr) const { in getU32()
75 uint32_t *DataExtractor::getU32(uint32_t *offset_ptr, uint32_t *dst, in getU32()
81 uint64_t DataExtractor::getU64(uint32_t *offset_ptr) const { in getU64()
85 uint64_t *DataExtractor::getU64(uint32_t *offset_ptr, uint64_t *dst, in getU64()
[all …]
/external/llvm/unittests/Support/
DDataExtractorTest.cpp22 DataExtractor DE(StringRef(numberData, sizeof(numberData)-1), false, 8); in TEST()
27 DataExtractor DE(StringRef(numberData, sizeof(numberData)-1), false, 8); in TEST()
54 DE = DataExtractor(StringRef(numberData, sizeof(numberData)-1), true, 4); in TEST()
75 DataExtractor DE(StringRef(numberData, sizeof(numberData)-1), false, 8); in TEST()
92 DataExtractor DE(StringRef(stringData, sizeof(stringData)-1), false, 8); in TEST()
102 DataExtractor DE(StringRef(leb128data, sizeof(leb128data)-1), false, 8); in TEST()
111 DataExtractor BDE(StringRef(bigleb128data, sizeof(bigleb128data)-1), false,8); in TEST()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h40 DataExtractor AccelSection;
41 DataExtractor StringSection;
44 DWARFAcceleratorTable(DataExtractor AccelSection, DataExtractor StringSection, in DWARFAcceleratorTable()
DDWARFFormValue.h67 bool extractValue(DataExtractor data, uint32_t *offset_ptr,
83 bool skipValue(DataExtractor debug_info_data, uint32_t *offset_ptr,
85 static bool skipValue(uint16_t form, DataExtractor debug_info_data,
87 static bool skipValue(uint16_t form, DataExtractor debug_info_data,
DDWARFUnit.h91 DataExtractor Data(Section.Data, LE, 0); in parseImpl()
144 virtual bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr);
175 DataExtractor getDebugInfoExtractor() const { in getDebugInfoExtractor()
176 return DataExtractor(InfoSection.Data, isLittleEndian, AddrSize); in getDebugInfoExtractor()
178 DataExtractor getStringExtractor() const { in getStringExtractor()
179 return DataExtractor(StringSection, false, 0); in getStringExtractor()
184 bool extract(DataExtractor debug_info, uint32_t* offset_ptr);
DDWARFUnitIndex.h38 bool parse(DataExtractor IndexData, uint32_t *OffsetPtr);
70 bool parseImpl(DataExtractor IndexData);
73 bool parse(DataExtractor IndexData);
DDWARFDebugAbbrev.h32 bool extract(DataExtractor Data, uint32_t *OffsetPtr);
55 void extract(DataExtractor Data);
DDWARFDebugLoc.h56 void parse(DataExtractor data, unsigned AddressSize);
76 void parse(DataExtractor data);
DDWARFDebugLine.h89 bool parse(DataExtractor debug_line_data, uint32_t *offset_ptr);
207 bool parse(DataExtractor debug_line_data, const RelocAddrMap *RMap,
224 const LineTable *getOrParseLineTable(DataExtractor debug_line_data,
DDWARFDebugFrame.h34 void parse(DataExtractor Data);
DDWARFDebugMacro.h54 void parse(DataExtractor data);
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp35 DataExtractor pubNames(Data, LittleEndian, 0); in dumpPubSection()
66 DataExtractor AccelSection(Section.Data, LittleEndian, 0); in dumpAccelSection()
67 DataExtractor StrData(StringSection, LittleEndian, 0); in dumpAccelSection()
138 DataExtractor arangesData(getARangeSection(), isLittleEndian(), 0); in dump()
155 DataExtractor lineData(getLineSection().Data, isLittleEndian(), in dump()
177 DataExtractor lineData(getLineDWOSection().Data, isLittleEndian(), in dump()
188 DataExtractor strData(getStringSection(), isLittleEndian(), 0); in dump()
200 DataExtractor strDWOData(getStringDWOSection(), isLittleEndian(), 0); in dump()
215 DataExtractor rangesData(getRangeSection(), isLittleEndian(), in dump()
242 DataExtractor strOffsetExt(getStringOffsetDWOSection(), isLittleEndian(), in dump()
[all …]
DDWARFUnit.cpp59 DataExtractor DA(AddrOffsetSection, isLittleEndian, AddrSize); in getAddrOffsetSectionItem()
71 DataExtractor DA(StringOffsetSection, isLittleEndian, 0); in getStringOffsetSectionItem()
76 bool DWARFUnit::extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) { in extractImpl()
104 bool DWARFUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) { in extract()
124 DataExtractor RangesData(RangeSection, isLittleEndian, AddrSize); in extractRangeList()
DDWARFUnitIndex.cpp17 bool DWARFUnitIndex::Header::parse(DataExtractor IndexData, in parse()
32 bool DWARFUnitIndex::parse(DataExtractor IndexData) { in parse()
44 bool DWARFUnitIndex::parseImpl(DataExtractor IndexData) { in parseImpl()
DDWARFDebugAbbrev.cpp25 bool DWARFAbbreviationDeclarationSet::extract(DataExtractor Data, in extract()
76 void DWARFDebugAbbrev::extract(DataExtractor Data) { in extract()
DDWARFDebugAranges.cpp21 void DWARFDebugAranges::extract(DataExtractor DebugArangesData) { in extract()
44 DataExtractor ArangesData(CTX->getARangeSection(), CTX->isLittleEndian(), 0); in generate()
DDWARFDebugLoc.cpp38 void DWARFDebugLoc::parse(DataExtractor data, unsigned AddressSize) { in parse()
78 void DWARFDebugLocDWO::parse(DataExtractor data) { in parse()
DDWARFDebugFrame.cpp45 virtual void parseInstructions(DataExtractor Data, uint32_t *Offset,
100 void FrameEntry::parseInstructions(DataExtractor Data, uint32_t *Offset, in parseInstructions()
432 static void LLVM_ATTRIBUTE_UNUSED dumpDataAux(DataExtractor Data, in dumpDataAux()
443 void DWARFDebugFrame::parse(DataExtractor Data) { in parse()
DDWARFFormValue.cpp134 bool DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr, in extractValue()
256 DWARFFormValue::skipValue(DataExtractor debug_info_data, uint32_t* offset_ptr, in skipValue()
262 DWARFFormValue::skipValue(uint16_t form, DataExtractor debug_info_data, in skipValue()
267 bool DWARFFormValue::skipValue(uint16_t form, DataExtractor debug_info_data, in skipValue()
DDWARFTypeUnit.cpp16 bool DWARFTypeUnit::extractImpl(DataExtractor debug_info, in extractImpl()
/external/llvm/unittests/DebugInfo/DWARF/
DDWARFFormValueTest.cpp59 DataExtractor Data(StringRef(Raw, sizeof(RawTypeT)), in createDataXFormValue()
71 DataExtractor Data(OS.str(), sys::IsLittleEndianHost, sizeof(void*)); in createULEBFormValue()
82 DataExtractor Data(OS.str(), sys::IsLittleEndianHost, sizeof(void*)); in createSLEBFormValue()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolizableObjectFile.h20 class DataExtractor; variable
56 DataExtractor *OpdExtractor = nullptr,
DSymbolizableObjectFile.cpp35 std::unique_ptr<DataExtractor> OpdExtractor; in create()
48 OpdExtractor.reset(new DataExtractor(Data, Obj->isLittleEndian(), in create()
120 DataExtractor *OpdExtractor, in addSymbol()
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp59 DataExtractor Data(CurStrSection, true, 0); in writeStringsAndOffsets()
75 Data = DataExtractor(CurStrOffsetSection, true, 0); in writeStringsAndOffsets()
93 DataExtractor AbbrevData(Abbrev, true, 0); in getCUAbbrev()
108 DataExtractor InfoData(Info, true, 0); in getCUSignature()
116 DataExtractor AbbrevData(Abbrev, true, 0); in getCUSignature()
150 DataExtractor Data(Types, true, 0); in addAllTypes()
/external/llvm/include/llvm/Support/
DDataExtractor.h17 class DataExtractor {
27 DataExtractor(StringRef Data, bool IsLittleEndian, uint8_t AddressSize) in DataExtractor() function

12