Home
last modified time | relevance | path

Searched refs:ExpectedLineTable (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugLineTest.cpp115 auto ExpectedLineTable = Line.getOrParseLineTable( in checkGetOrParseLineTableEmitsError() local
117 EXPECT_FALSE(ExpectedLineTable); in checkGetOrParseLineTableEmitsError()
120 checkError(ExpectedMsg, ExpectedLineTable.takeError()); in checkGetOrParseLineTableEmitsError()
248 auto ExpectedLineTable = Line.getOrParseLineTable(LineData, 0, *Context, in TEST_P() local
250 ASSERT_TRUE(ExpectedLineTable.operator bool()); in TEST_P()
252 const DWARFDebugLine::LineTable *Expected = *ExpectedLineTable; in TEST_P()
463 auto ExpectedLineTable = Line.getOrParseLineTable(LineData, 0, *Context, in TEST_F() local
467 ASSERT_TRUE(ExpectedLineTable.operator bool()); in TEST_F()
468 EXPECT_EQ((*ExpectedLineTable)->Rows.size(), 6u); in TEST_F()
470 EXPECT_EQ((*ExpectedLineTable)->Sequences.size(), 1u); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp808 Expected<const DWARFDebugLine::LineTable *> ExpectedLineTable = in getLineTableForUnit() local
810 if (!ExpectedLineTable) { in getLineTableForUnit()
811 DWARFDebugLine::warn(ExpectedLineTable.takeError()); in getLineTableForUnit()
814 return *ExpectedLineTable; in getLineTableForUnit()