Home
last modified time | relevance | path

Searched refs:DObj (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp68 DWARFContext::DWARFContext(std::unique_ptr<const DWARFObject> DObj, in DWARFContext() argument
70 : DIContext(CK_DWARF), DWPName(std::move(DWPName)), DObj(std::move(DObj)) {} in DWARFContext()
328 StringRef Extension = sys::path::extension(DObj->getFileName()); in dump()
332 const auto *ObjFile = DObj->getFile(); in dump()
353 DObj->getAbbrevSection())) in dump()
356 DObj->getAbbrevDWOSection())) in dump()
397 DObj->getLocSection().Data)) { in dump()
398 getDebugLoc()->dump(OS, getRegisterInfo(), *DObj, LLDumpOpts, *Off); in dump()
402 DObj->getLoclistsSection().Data)) { in dump()
403 DWARFDataExtractor Data(*DObj, DObj->getLoclistsSection(), isLittleEndian(), in dump()
[all …]
DDWARFVerifier.cpp271 const DWARFObject &DObj = DCtx.getDWARFObj(); in handleDebugAbbrev() local
273 if (!DObj.getAbbrevSection().empty()) in handleDebugAbbrev()
275 if (!DObj.getAbbrevDWOSection().empty()) in handleDebugAbbrev()
283 const DWARFObject &DObj = DCtx.getDWARFObj(); in verifyUnitSection() local
284 DWARFDataExtractor DebugInfoData(DObj, S, DCtx.isLittleEndian(), 0); in verifyUnitSection()
308 DCtx, S, Header, DCtx.getDebugAbbrev(), &DObj.getRangesSection(), in verifyUnitSection()
309 &DObj.getLocSection(), DObj.getStrSection(), in verifyUnitSection()
310 DObj.getStrOffsetsSection(), &DObj.getAppleObjCSection(), in verifyUnitSection()
311 DObj.getLineSection(), DCtx.isLittleEndian(), false, in verifyUnitSection()
322 DCtx, S, Header, DCtx.getDebugAbbrev(), &DObj.getRangesSection(), in verifyUnitSection()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp67 DWARFContext::DWARFContext(std::unique_ptr<const DWARFObject> DObj, in DWARFContext() argument
73 WarningHandler(WarningHandler), DObj(std::move(DObj)) {} in DWARFContext()
281 DWARFDataExtractor Data(DObj->getMacinfoSection(), isLittleEndian(), 0); in parseMacroOrMacinfo()
286 DWARFDataExtractor Data(DObj->getMacinfoDWOSection(), isLittleEndian(), 0); in parseMacroOrMacinfo()
291 DWARFDataExtractor Data(*DObj, DObj->getMacroSection(), isLittleEndian(), in parseMacroOrMacinfo()
297 DWARFDataExtractor Data(DObj->getMacroDWOSection(), isLittleEndian(), 0); in parseMacroOrMacinfo()
351 StringRef Extension = sys::path::extension(DObj->getFileName()); in dump()
355 const auto *ObjFile = DObj->getFile(); in dump()
376 DObj->getAbbrevSection())) in dump()
379 DObj->getAbbrevDWOSection())) in dump()
[all …]
DDWARFVerifier.cpp280 const DWARFObject &DObj = DCtx.getDWARFObj(); in handleDebugAbbrev() local
282 if (!DObj.getAbbrevSection().empty()) in handleDebugAbbrev()
284 if (!DObj.getAbbrevDWOSection().empty()) in handleDebugAbbrev()
292 const DWARFObject &DObj = DCtx.getDWARFObj(); in verifyUnitSection() local
293 DWARFDataExtractor DebugInfoData(DObj, S, DCtx.isLittleEndian(), 0); in verifyUnitSection()
317 DCtx, S, Header, DCtx.getDebugAbbrev(), &DObj.getRangesSection(), in verifyUnitSection()
318 &DObj.getLocSection(), DObj.getStrSection(), in verifyUnitSection()
319 DObj.getStrOffsetsSection(), &DObj.getAddrSection(), in verifyUnitSection()
320 DObj.getLineSection(), DCtx.isLittleEndian(), false, in verifyUnitSection()
331 DCtx, S, Header, DCtx.getDebugAbbrev(), &DObj.getRangesSection(), in verifyUnitSection()
[all …]
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDWARFDataExtractorTest.cpp56 const DWARFObject &DObj = Ctx->getDWARFObj(); in TEST() local
57 ASSERT_EQ(6u, DObj.getLineSection().Data.size()); in TEST()
59 DWARFDataExtractor Data(DObj, DObj.getLineSection(), Obj->isLittleEndian(), in TEST()
188 const DWARFObject &DObj = Ctx->getDWARFObj(); in TEST() local
189 ASSERT_EQ(12u, DObj.getLineSection().Data.size()); in TEST()
191 DWARFDataExtractor Data(DObj, DObj.getLineSection(), Obj->isLittleEndian(), in TEST()
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFContext.h107 std::unique_ptr<const DWARFObject> DObj; variable
119 DWARFContext(std::unique_ptr<const DWARFObject> DObj,
130 const DWARFObject &getDWARFObj() const { return *DObj; } in getDWARFObj()
330 return DataExtractor(DObj->getStrSection(), false, 0); in getStringExtractor()
333 return DataExtractor(DObj->getStrDWOSection(), false, 0); in getStringDWOExtractor()
336 return DataExtractor(DObj->getLineStrSection(), false, 0); in getLineStringExtractor()
366 bool isLittleEndian() const { return DObj->isLittleEndian(); } in isLittleEndian()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFContext.h106 std::unique_ptr<const DWARFObject> DObj; variable
109 DWARFContext(std::unique_ptr<const DWARFObject> DObj,
116 const DWARFObject &getDWARFObj() const { return *DObj; } in getDWARFObj()
304 return DataExtractor(DObj->getStrSection(), false, 0); in getStringExtractor()
307 return DataExtractor(DObj->getLineStrSection(), false, 0); in getLineStringExtractor()
337 bool isLittleEndian() const { return DObj->isLittleEndian(); } in isLittleEndian()