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

References

tools/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
   93   row_sp = unwind_plan.GetRowForFunctionOffset(0);
   94   EXPECT_EQ(0ull, row_sp->GetOffset());
   95   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64);
   96   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
   97   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());
  100   row_sp = unwind_plan.GetRowForFunctionOffset(4);
  101   EXPECT_EQ(4ull, row_sp->GetOffset());
  102   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64);
  103   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  104   EXPECT_EQ(16, row_sp->GetCFAValue().GetOffset());
  106   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_fp_arm64, regloc));
  110   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_lr_arm64, regloc));
  115   row_sp = unwind_plan.GetRowForFunctionOffset(8);
  116   EXPECT_EQ(8ull, row_sp->GetOffset());
  117   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_fp_arm64);
  118   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  119   EXPECT_EQ(16, row_sp->GetCFAValue().GetOffset());
  121   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_fp_arm64, regloc));
  125   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_lr_arm64, regloc));
  130   row_sp = unwind_plan.GetRowForFunctionOffset(16);
  131   EXPECT_EQ(16ull, row_sp->GetOffset());
  132   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64);
  133   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  134   EXPECT_EQ(16, row_sp->GetCFAValue().GetOffset());
  136   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_fp_arm64, regloc));
  140   EXPECT_TRUE(row_sp->GetRegisterInfo(gpr_lr_arm64, regloc));
  145   row_sp = unwind_plan.GetRowForFunctionOffset(20);
  146   EXPECT_EQ(20ull, row_sp->GetOffset());
  147   EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64);
  148   EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true);
  149   EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset());