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

References

tools/lldb/unittests/ObjectFile/PECOFF/TestPECallFrameInfo.cpp
  222   row.SetOffset(0);
  223   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 8);
  224   row.SetRegisterLocationToIsCFAPlusOffset(lldb_rsp_x86_64, 0, true);
  225   row.SetRegisterLocationToAtCFAPlusOffset(lldb_rip_x86_64, -8, true);
  226   EXPECT_EQ(*plan.GetRowAtIndex(0), row);
  228   row.SetOffset(2);
  229   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x10);
  230   row.SetRegisterLocationToAtCFAPlusOffset(lldb_rbx_x86_64, -0x10, true);
  231   EXPECT_EQ(*plan.GetRowAtIndex(1), row);
  233   row.SetOffset(3);
  234   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x18);
  235   row.SetRegisterLocationToAtCFAPlusOffset(lldb_rsi_x86_64, -0x18, true);
  236   EXPECT_EQ(*plan.GetRowAtIndex(2), row);
  238   row.SetOffset(4);
  239   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x20);
  240   row.SetRegisterLocationToAtCFAPlusOffset(lldb_rdi_x86_64, -0x20, true);
  241   EXPECT_EQ(*plan.GetRowAtIndex(3), row);
  243   row.SetOffset(6);
  244   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x28);
  245   row.SetRegisterLocationToAtCFAPlusOffset(lldb_r14_x86_64, -0x28, true);
  246   EXPECT_EQ(*plan.GetRowAtIndex(4), row);
  248   row.SetOffset(8);
  249   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x30);
  250   row.SetRegisterLocationToAtCFAPlusOffset(lldb_r15_x86_64, -0x30, true);
  251   EXPECT_EQ(*plan.GetRowAtIndex(5), row);
  253   row.SetOffset(0xC);
  254   row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x50);
  255   EXPECT_EQ(*plan.GetRowAtIndex(6), row);