Home
last modified time | relevance | path

Searched refs:row_sp (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/lldb/unittests/UnwindAssembly/ARM64/
DTestArm64InstEmulation.cpp62 UnwindPlan::RowSP row_sp; in TEST_F() local
92 row_sp = unwind_plan.GetRowForFunctionOffset(0); in TEST_F()
93 EXPECT_EQ(0ull, row_sp->GetOffset()); in TEST_F()
94 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64); in TEST_F()
95 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
96 EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset()); in TEST_F()
99 row_sp = unwind_plan.GetRowForFunctionOffset(4); in TEST_F()
100 EXPECT_EQ(4ull, row_sp->GetOffset()); in TEST_F()
101 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64); in TEST_F()
102 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/UnwindAssembly/x86/
DTestx86AssemblyInspectionEngine.cpp174 UnwindPlan::RowSP row_sp = unwind_plan.GetRowForFunctionOffset(0); in TEST_F() local
175 EXPECT_EQ(0ull, row_sp->GetOffset()); in TEST_F()
176 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == k_rsp); in TEST_F()
177 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
178 EXPECT_EQ(8, row_sp->GetCFAValue().GetOffset()); in TEST_F()
180 EXPECT_TRUE(row_sp->GetRegisterInfo(k_rip, regloc)); in TEST_F()
185 row_sp = unwind_plan.GetRowForFunctionOffset(1); in TEST_F()
186 EXPECT_EQ(1ull, row_sp->GetOffset()); in TEST_F()
187 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == k_rsp); in TEST_F()
188 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/UnwindAssembly/PPC64/
DTestPPC64InstEmulation.cpp61 UnwindPlan::RowSP row_sp; in TEST_F() local
99 row_sp = unwind_plan.GetRowForFunctionOffset(0); in TEST_F()
100 EXPECT_EQ(0ull, row_sp->GetOffset()); in TEST_F()
101 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le); in TEST_F()
102 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
103 EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset()); in TEST_F()
106 row_sp = unwind_plan.GetRowForFunctionOffset(16); in TEST_F()
107 EXPECT_EQ(16ull, row_sp->GetOffset()); in TEST_F()
108 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le); in TEST_F()
109 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
[all …]
/external/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
DSymbolFileBreakpad.cpp535 auto row_sp = std::make_shared<UnwindPlan::Row>(); in ParseCFIUnwindPlan() local
536 row_sp->SetOffset(0); in ParseCFIUnwindPlan()
537 if (!ParseCFIUnwindRow(init_record->UnwindRules, resolver, *row_sp)) in ParseCFIUnwindPlan()
539 plan_sp->AppendRow(row_sp); in ParseCFIUnwindPlan()
547 row_sp = std::make_shared<UnwindPlan::Row>(*row_sp); in ParseCFIUnwindPlan()
548 row_sp->SetOffset(record->Address - init_record->Address); in ParseCFIUnwindPlan()
549 if (!ParseCFIUnwindRow(record->UnwindRules, resolver, *row_sp)) in ParseCFIUnwindPlan()
551 plan_sp->AppendRow(row_sp); in ParseCFIUnwindPlan()
578 auto row_sp = std::make_shared<UnwindPlan::Row>(); in ParseWinUnwindPlan() local
579 row_sp->SetOffset(0); in ParseWinUnwindPlan()
[all …]
/external/llvm-project/lldb/source/Symbol/
DUnwindPlan.cpp357 void UnwindPlan::AppendRow(const UnwindPlan::RowSP &row_sp) { in AppendRow() argument
359 m_row_list.back()->GetOffset() != row_sp->GetOffset()) in AppendRow()
360 m_row_list.push_back(row_sp); in AppendRow()
362 m_row_list.back() = row_sp; in AppendRow()
365 void UnwindPlan::InsertRow(const UnwindPlan::RowSP &row_sp, in InsertRow() argument
370 if (row->GetOffset() >= row_sp->GetOffset()) in InsertRow()
374 if (it == m_row_list.end() || (*it)->GetOffset() != row_sp->GetOffset()) in InsertRow()
375 m_row_list.insert(it, row_sp); in InsertRow()
377 *it = row_sp; in InsertRow()
/external/llvm-project/lldb/include/lldb/Symbol/
DUnwindPlan.h400 for (const RowSP &row_sp : rhs.m_row_list) in UnwindPlan() local
401 m_row_list.emplace_back(new Row(*row_sp)); in UnwindPlan()
408 void AppendRow(const RowSP &row_sp);
410 void InsertRow(const RowSP &row_sp, bool replace_existing = false);