reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp
 2233   row_sp = std::make_shared<UnwindPlan::Row>();
 2236   row_sp->SetOffset(0);
 2237   row_sp->GetCFAValue().SetIsRegisterPlusOffset(k_rsp, 8);
 2240   row_sp->SetRegisterInfo(k_rip, regloc);
 2242   unwind_plan.AppendRow(row_sp);
 2246   *new_row = *row_sp.get();
 2247   row_sp.reset(new_row);
 2250   row_sp->SetOffset(1);
 2251   row_sp->GetCFAValue().SetIsRegisterPlusOffset(k_rsp, 16);
 2253   row_sp->SetRegisterInfo(k_rbp, regloc);
 2254   unwind_plan.AppendRow(row_sp);
 2258   *new_row = *row_sp.get();
 2259   row_sp.reset(new_row);
 2262   row_sp->SetOffset(4);
 2263   row_sp->GetCFAValue().SetIsRegisterPlusOffset(k_rsp, 16);
 2264   unwind_plan.AppendRow(row_sp);
 2272   row_sp = unwind_plan.GetRowForFunctionOffset(5);
 2273   EXPECT_EQ(4ull, row_sp->GetOffset());
 2276   row_sp = unwind_plan.GetRowForFunctionOffset(12);
 2277   EXPECT_EQ(12ull, row_sp->GetOffset());
 2278   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == k_rsp);
 2279   EXPECT_EQ(152, row_sp->GetCFAValue().GetOffset());
 2282   row_sp = unwind_plan.GetRowForFunctionOffset(13);
 2283   EXPECT_EQ(12ull, row_sp->GetOffset());
 2287   row_sp = unwind_plan.GetRowForFunctionOffset(20);
 2288   EXPECT_EQ(20ull, row_sp->GetOffset());
 2289   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == k_rsp);
 2290   EXPECT_EQ(16, row_sp->GetCFAValue().GetOffset());