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

References

tools/lldb/unittests/UnwindAssembly/PPC64/TestPPC64InstEmulation.cpp
  211   row_sp = unwind_plan.GetRowForFunctionOffset(0);
  212   EXPECT_EQ(0ull, row_sp->GetOffset());
  213   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le);
  214   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  215   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  218   row_sp = unwind_plan.GetRowForFunctionOffset(8);
  219   EXPECT_EQ(8ull, row_sp->GetOffset());
  220   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le);
  221   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  222   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  224   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_r31_ppc64le, regloc));
  229   row_sp = unwind_plan.GetRowForFunctionOffset(12);
  230   EXPECT_EQ(12ull, row_sp->GetOffset());
  231   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le);
  232   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  233   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  235   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_lr_ppc64le, regloc));
  240   row_sp = unwind_plan.GetRowForFunctionOffset(16);
  241   EXPECT_EQ(16ull, row_sp->GetOffset());
  242   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r30_ppc64le);
  243   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  244   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  246   row_sp = unwind_plan.GetRowForFunctionOffset(32);
  247   EXPECT_EQ(16ull, row_sp->GetOffset());
  248   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r30_ppc64le);
  249   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  250   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  253   row_sp = unwind_plan.GetRowForFunctionOffset(36);
  254   EXPECT_EQ(36ull, row_sp->GetOffset());
  255   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le);
  256   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  257   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());