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

References

tools/lldb/unittests/UnwindAssembly/PPC64/TestPPC64InstEmulation.cpp
   99   row_sp = unwind_plan.GetRowForFunctionOffset(0);
  100   EXPECT_EQ(0ull, row_sp->GetOffset());
  101   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le);
  102   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  103   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  106   row_sp = unwind_plan.GetRowForFunctionOffset(16);
  107   EXPECT_EQ(16ull, row_sp->GetOffset());
  108   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le);
  109   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  110   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  112   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_r31_ppc64le, regloc));
  117   row_sp = unwind_plan.GetRowForFunctionOffset(20);
  118   EXPECT_EQ(20ull, row_sp->GetOffset());
  119   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le);
  120   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  121   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  123   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_lr_ppc64le, regloc));
  128   row_sp = unwind_plan.GetRowForFunctionOffset(24);
  129   EXPECT_EQ(24ull, row_sp->GetOffset());
  130   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le);
  131   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  132   EXPECT_EQ(112, row_sp->GetCFAValue().GetOffset());
  134   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_r31_ppc64le, regloc));
  138   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_lr_ppc64le, regloc));
  143   row_sp = unwind_plan.GetRowForFunctionOffset(28);
  144   EXPECT_EQ(28ull, row_sp->GetOffset());
  145   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r31_ppc64le);
  146   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  147   EXPECT_EQ(112, row_sp->GetCFAValue().GetOffset());
  149   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_r31_ppc64le, regloc));
  153   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_lr_ppc64le, regloc));
  158   row_sp = unwind_plan.GetRowForFunctionOffset(40);
  159   EXPECT_EQ(40ull, row_sp->GetOffset());
  160   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le);
  161   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  162   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  164   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_r31_ppc64le, regloc));
  168   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_lr_ppc64le, regloc));