• Home
  • Raw
  • Download

Lines Matching refs:DwarfContext

230   std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj);  in TestAllForms()  local
231 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TestAllForms()
234 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TestAllForms()
494 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TestChildren() local
497 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TestChildren()
500 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TestChildren()
671 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TestReferences() local
674 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TestReferences()
677 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TestReferences()
679 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(1)); in TestReferences()
881 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TestAddresses() local
884 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TestAddresses()
887 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TestAddresses()
1044 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TEST() local
1045 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TEST()
1047 DWARFUnit *U = DwarfContext->getUnitAtIndex(0); in TEST()
1097 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TEST() local
1099 DwarfContext->getDWARFObj().getStrOffsetsSection().Data.empty()); in TEST()
1150 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TEST() local
1153 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TEST()
1156 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TEST()
1322 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TEST() local
1325 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TEST()
1328 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TEST()
1379 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
1383 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TEST()
1386 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TEST()
1428 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TEST() local
1431 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TEST()
1434 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TEST()
1497 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TEST() local
1500 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TEST()
1503 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TEST()
1700 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TEST() local
1703 uint32_t NumCUs = DwarfContext->getNumCompileUnits(); in TEST()
1706 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TEST()
1764 std::unique_ptr<DWARFContext> DwarfContext = DWARFContext::create(**Obj); in TEST() local
1766 cast<DWARFCompileUnit>(DwarfContext->getUnitAtIndex(0)); in TEST()
1854 void VerifyWarning(DWARFContext &DwarfContext, StringRef Error) { in VerifyWarning() argument
1857 EXPECT_TRUE(DwarfContext.verify(Strm)); in VerifyWarning()
1861 void VerifyError(DWARFContext &DwarfContext, StringRef Error) { in VerifyError() argument
1864 EXPECT_FALSE(DwarfContext.verify(Strm)); in VerifyError()
1868 void VerifySuccess(DWARFContext &DwarfContext) { in VerifySuccess() argument
1871 EXPECT_TRUE(DwarfContext.verify(Strm)); in VerifySuccess()
1915 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
1917 VerifyError(*DwarfContext, "error: DW_FORM_ref4 CU offset 0x00001234 is " in TEST()
1961 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
1963 VerifyError(*DwarfContext, in TEST()
1995 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
1998 *DwarfContext, in TEST()
2031 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2033 VerifyError(*DwarfContext, "error: DW_AT_ranges offset is beyond " in TEST()
2065 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2068 *DwarfContext, in TEST()
2096 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2098 VerifyError(*DwarfContext, in TEST()
2141 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2144 *DwarfContext, in TEST()
2207 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2209 VerifyError(*DwarfContext, "error: .debug_line[0x00000000] row[1] decreases " in TEST()
2274 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2276 VerifyError(*DwarfContext, "error: .debug_line[0x00000000][1] has invalid " in TEST()
2341 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2343 VerifyError(*DwarfContext, in TEST()
2413 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2415 VerifyWarning(*DwarfContext, in TEST()
2489 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2491 VerifyError(*DwarfContext, in TEST()
2577 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2579 VerifyError(*DwarfContext, "error: DIE address ranges are not " in TEST()
2638 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2640 VerifyError(*DwarfContext, "error: DIE address ranges are not " in TEST()
2692 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2694 VerifyError(*DwarfContext, "error: DIEs have overlapping address ranges:"); in TEST()
2762 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2764 VerifyError(*DwarfContext, "error: DIEs have overlapping address ranges:"); in TEST()
2809 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2811 VerifyError(*DwarfContext, "error: Invalid address range"); in TEST()
2870 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2872 VerifySuccess(*DwarfContext); in TEST()
2932 std::unique_ptr<DWARFContext> DwarfContext = in TEST() local
2934 VerifySuccess(*DwarfContext); in TEST()