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

References

tools/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
  210   row_sp = unwind_plan.GetRowForFunctionOffset(0);
  211   EXPECT_EQ(0ull, row_sp->GetOffset());
  212   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64);
  213   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  214   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  217   row_sp = unwind_plan.GetRowForFunctionOffset(4);
  218   EXPECT_EQ(4ull, row_sp->GetOffset());
  219   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64);
  220   EXPECT_EQ(48, row_sp->GetCFAValue().GetOffset());
  222   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_x21_arm64, regloc));
  226   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_x22_arm64, regloc));
  231   row_sp = unwind_plan.GetRowForFunctionOffset(8);
  232   EXPECT_EQ(8ull, row_sp->GetOffset());
  233   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64);
  234   EXPECT_EQ(48, row_sp->GetCFAValue().GetOffset());
  236   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_x19_arm64, regloc));
  240   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_x20_arm64, regloc));
  246   row_sp = unwind_plan.GetRowForFunctionOffset(12);
  247   EXPECT_EQ(12ull, row_sp->GetOffset());
  248   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64);
  249   EXPECT_EQ(48, row_sp->GetCFAValue().GetOffset());
  251   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_fp_arm64, regloc));
  255   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_lr_arm64, regloc));
  261   row_sp = unwind_plan.GetRowForFunctionOffset(16);
  262   EXPECT_EQ(16ull, row_sp->GetOffset());
  263   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_fp_arm64);
  264   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  265   EXPECT_EQ(16, row_sp->GetCFAValue().GetOffset());
  269   row_sp = unwind_plan.GetRowForFunctionOffset(28);
  270   EXPECT_EQ(28ull, row_sp->GetOffset());
  271   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64);
  272   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  273   EXPECT_EQ(48, row_sp->GetCFAValue().GetOffset());
  277   row_sp = unwind_plan.GetRowForFunctionOffset(32);
  278   EXPECT_EQ(32ull, row_sp->GetOffset());
  282   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_fp_arm64, regloc));
  285   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_lr_arm64, regloc));
  290   row_sp = unwind_plan.GetRowForFunctionOffset(36);
  291   EXPECT_EQ(36ull, row_sp->GetOffset());
  293   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_x19_arm64, regloc));
  296   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_x20_arm64, regloc));
  301   row_sp = unwind_plan.GetRowForFunctionOffset(40);
  302   EXPECT_EQ(40ull, row_sp->GetOffset());
  303   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64);
  304   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  305   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  307   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_x21_arm64, regloc));
  310   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_x22_arm64, regloc));