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

References

tools/lldb/unittests/ObjectFile/PECOFF/TestPECallFrameInfo.cpp
  286   row.SetOffset(0);
  287   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 8);
  288   row.SetRegisterLocationToIsCFAPlusOffset(lldb_rsp_x86_64, 0, true);
  289   row.SetRegisterLocationToAtCFAPlusOffset(lldb_rip_x86_64, -8, true);
  290   EXPECT_EQ(*plan.GetRowAtIndex(0), row);
  292   row.SetOffset(6);
  293   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x10);
  294   row.SetRegisterLocationToAtCFAPlusOffset(lldb_rbp_x86_64, -0x10, true);
  295   EXPECT_EQ(*plan.GetRowAtIndex(1), row);
  297   row.SetOffset(8);
  298   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x18);
  299   row.SetRegisterLocationToAtCFAPlusOffset(lldb_r12_x86_64, -0x18, true);
  300   EXPECT_EQ(*plan.GetRowAtIndex(2), row);
  302   row.SetOffset(0xA);
  303   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x20);
  304   row.SetRegisterLocationToAtCFAPlusOffset(lldb_r13_x86_64, -0x20, true);
  305   EXPECT_EQ(*plan.GetRowAtIndex(3), row);
  307   row.SetOffset(0xC);
  308   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x28);
  309   row.SetRegisterLocationToAtCFAPlusOffset(lldb_r14_x86_64, -0x28, true);
  310   EXPECT_EQ(*plan.GetRowAtIndex(4), row);
  312   row.SetOffset(0xE);
  313   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x30);
  314   row.SetRegisterLocationToAtCFAPlusOffset(lldb_r15_x86_64, -0x30, true);
  315   EXPECT_EQ(*plan.GetRowAtIndex(5), row);
  317   row.SetOffset(0x15);
  318   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x320);
  319   EXPECT_EQ(*plan.GetRowAtIndex(6), row);
  321   row.SetOffset(0x1A);
  322   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rbp_x86_64, 0x2F0);
  323   EXPECT_EQ(*plan.GetRowAtIndex(7), row);
  325   row.SetOffset(0x21);
  326   row.SetRegisterLocationToAtCFAPlusOffset(lldb_rbx_x86_64, 8, true);
  327   EXPECT_EQ(*plan.GetRowAtIndex(8), row);
  329   row.SetOffset(0x28);
  330   row.SetRegisterLocationToAtCFAPlusOffset(lldb_rsi_x86_64, 0x10, true);
  331   EXPECT_EQ(*plan.GetRowAtIndex(9), row);
  333   row.SetOffset(0x2F);
  334   row.SetRegisterLocationToAtCFAPlusOffset(lldb_rdi_x86_64, 0x18, true);
  335   EXPECT_EQ(*plan.GetRowAtIndex(10), row);