Home
last modified time | relevance | path

Searched refs:GetCFAValue (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm-project/lldb/unittests/UnwindAssembly/x86/
DTestx86AssemblyInspectionEngine.cpp176 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == k_rsp); in TEST_F()
177 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
178 EXPECT_EQ(8, row_sp->GetCFAValue().GetOffset()); in TEST_F()
187 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == k_rsp); in TEST_F()
188 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
189 EXPECT_EQ(16, row_sp->GetCFAValue().GetOffset()); in TEST_F()
198 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == k_rbp); in TEST_F()
199 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
200 EXPECT_EQ(16, row_sp->GetCFAValue().GetOffset()); in TEST_F()
209 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == k_rsp); in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/UnwindAssembly/ARM64/
DTestArm64InstEmulation.cpp94 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64); in TEST_F()
95 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
96 EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset()); in TEST_F()
101 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64); in TEST_F()
102 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
103 EXPECT_EQ(16, row_sp->GetCFAValue().GetOffset()); in TEST_F()
116 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_fp_arm64); in TEST_F()
117 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
118 EXPECT_EQ(16, row_sp->GetCFAValue().GetOffset()); in TEST_F()
131 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_sp_arm64); in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/UnwindAssembly/PPC64/
DTestPPC64InstEmulation.cpp101 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le); in TEST_F()
102 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
103 EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset()); in TEST_F()
108 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le); in TEST_F()
109 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
110 EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset()); in TEST_F()
119 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le); in TEST_F()
120 EXPECT_TRUE(row_sp->GetCFAValue().IsRegisterPlusOffset() == true); in TEST_F()
121 EXPECT_EQ(0, row_sp->GetCFAValue().GetOffset()); in TEST_F()
130 EXPECT_TRUE(row_sp->GetCFAValue().GetRegisterNumber() == gpr_r1_ppc64le); in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/ObjectFile/PECOFF/
DTestPECallFrameInfo.cpp215 row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 8); in TEST_F()
221 row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x10); in TEST_F()
226 row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x18); in TEST_F()
231 row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x20); in TEST_F()
236 row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x28); in TEST_F()
241 row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x30); in TEST_F()
246 row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x50); in TEST_F()
257 row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x50); in TEST_F()
279 row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 8); in TEST_F()
285 row.GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, 0x10); in TEST_F()
[all …]
/external/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/
DUnwindAssembly-x86.cpp93 if (first_row->GetCFAValue().GetValueType() != in AugmentUnwindPlanFromCallSite()
96 first_row->GetCFAValue().GetRegisterNumber()) != in AugmentUnwindPlanFromCallSite()
98 first_row->GetCFAValue().GetOffset() != wordsize) { in AugmentUnwindPlanFromCallSite()
121 if (first_row->GetCFAValue().GetValueType() == in AugmentUnwindPlanFromCallSite()
122 last_row->GetCFAValue().GetValueType() && in AugmentUnwindPlanFromCallSite()
123 first_row->GetCFAValue().GetRegisterNumber() == in AugmentUnwindPlanFromCallSite()
124 last_row->GetCFAValue().GetRegisterNumber() && in AugmentUnwindPlanFromCallSite()
125 first_row->GetCFAValue().GetOffset() == in AugmentUnwindPlanFromCallSite()
126 last_row->GetCFAValue().GetOffset()) { in AugmentUnwindPlanFromCallSite()
Dx86AssemblyInspectionEngine.cpp938 row->GetCFAValue().SetIsRegisterPlusOffset(m_lldb_sp_regnum, m_wordsize); in GetNonCallSiteUnwindPlanFromAssembly()
990 auto &cfa_value = row->GetCFAValue(); in GetNonCallSiteUnwindPlanFromAssembly()
1358 uint32_t cfa_reg = first_row->GetCFAValue().GetRegisterNumber(); in AugmentUnwindPlanFromCallSite()
1362 first_row->GetCFAValue().GetRegisterNumber()); in AugmentUnwindPlanFromCallSite()
1365 first_row->GetCFAValue().GetOffset() != m_wordsize) in AugmentUnwindPlanFromCallSite()
1426 cfa_reg = row->GetCFAValue().GetRegisterNumber(); in AugmentUnwindPlanFromCallSite()
1430 row->GetCFAValue().GetRegisterNumber()); in AugmentUnwindPlanFromCallSite()
1440 row->GetCFAValue().IncOffset(m_wordsize); in AugmentUnwindPlanFromCallSite()
1452 row->GetCFAValue().IncOffset(m_wordsize); in AugmentUnwindPlanFromCallSite()
1466 row->GetCFAValue().IncOffset(-m_wordsize); in AugmentUnwindPlanFromCallSite()
[all …]
/external/llvm-project/lldb/source/Plugins/UnwindAssembly/InstEmulation/
DUnwindAssemblyInstEmulation.cpp167 m_curr_row->GetCFAValue().IsRegisterPlusOffset()) { in GetNonCallSiteUnwindPlanFromAssembly()
169 m_curr_row->GetCFAValue().GetRegisterNumber(); in GetNonCallSiteUnwindPlanFromAssembly()
214 m_curr_row->GetCFAValue().IsRegisterPlusOffset()) { in GetNonCallSiteUnwindPlanFromAssembly()
216 m_curr_row->GetCFAValue().GetRegisterNumber(); in GetNonCallSiteUnwindPlanFromAssembly()
590 m_curr_row->GetCFAValue().IncOffset(-1 * offset); in WriteRegister()
655 m_curr_row->GetCFAValue().SetIsRegisterPlusOffset( in WriteRegister()
668 m_curr_row->GetCFAValue().SetIsRegisterPlusOffset( in WriteRegister()
678 m_curr_row->GetCFAValue().SetIsRegisterPlusOffset( in WriteRegister()
679 m_curr_row->GetCFAValue().GetRegisterNumber(), in WriteRegister()
/external/llvm-project/lldb/unittests/Symbol/
DTestDWARFCallFrameInfo.cpp54 row.GetCFAValue().SetIsRegisterPlusOffset(dwarf_rsp_x86_64, 8); in GetExpectedRow0()
62 row.GetCFAValue().SetIsRegisterPlusOffset(dwarf_rsp_x86_64, 16); in GetExpectedRow1()
71 row.GetCFAValue().SetIsRegisterPlusOffset(dwarf_rbp_x86_64, 16); in GetExpectedRow2()
/external/llvm-project/lldb/source/Symbol/
DDWARFCallFrameInfo.cpp901 row.GetCFAValue().SetIsRegisterPlusOffset(reg_num, op_offset); in HandleCommonDwarfOpcode()
911 row.GetCFAValue().SetIsRegisterPlusOffset(reg_num, in HandleCommonDwarfOpcode()
912 row.GetCFAValue().GetOffset()); in HandleCommonDwarfOpcode()
922 row.GetCFAValue().SetIsRegisterPlusOffset( in HandleCommonDwarfOpcode()
923 row.GetCFAValue().GetRegisterNumber(), op_offset); in HandleCommonDwarfOpcode()
932 row.GetCFAValue().SetIsDWARFExpression(block_data, block_len); in HandleCommonDwarfOpcode()
977 row.GetCFAValue().SetIsRegisterPlusOffset(reg_num, op_offset); in HandleCommonDwarfOpcode()
987 uint32_t cfa_regnum = row.GetCFAValue().GetRegisterNumber(); in HandleCommonDwarfOpcode()
988 row.GetCFAValue().SetIsRegisterPlusOffset(cfa_regnum, op_offset); in HandleCommonDwarfOpcode()
DCompactUnwindInfo.cpp753 row->GetCFAValue().SetIsRegisterPlusOffset( in CreateUnwindPlan_x86_64()
844 row->GetCFAValue().SetIsRegisterPlusOffset(x86_64_eh_regnum::rsp, offset); in CreateUnwindPlan_x86_64()
1025 row->GetCFAValue().SetIsRegisterPlusOffset( in CreateUnwindPlan_i386()
1108 row->GetCFAValue().SetIsRegisterPlusOffset(i386_eh_regnum::esp, offset); in CreateUnwindPlan_i386()
1333 row->GetCFAValue().SetIsRegisterPlusOffset(arm64_eh_regnum::sp, stack_size); in CreateUnwindPlan_arm64()
1349 row->GetCFAValue().SetIsRegisterPlusOffset(arm64_eh_regnum::fp, 2 * wordsize); in CreateUnwindPlan_arm64()
1462 row->GetCFAValue().SetIsRegisterPlusOffset(arm_r7, in CreateUnwindPlan_armv7()
DFuncUnwinders.cpp372 if (a_first_row->GetCFAValue() != b_first_row->GetCFAValue()) { in CompareUnwindPlansForIdenticalInitialPCLocation()
DArmUnwindInfo.cpp326 row->GetCFAValue().SetIsRegisterPlusOffset(vsp_reg, vsp); in GetUnwindPlan()
/external/llvm-project/lldb/source/Target/
DRegisterContextUnwind.cpp224 if (!ReadFrameAddress(row_register_kind, active_row->GetCFAValue(), m_cfa)) { in InitializeZerothFrame()
381 if (!ReadFrameAddress(row_register_kind, row->GetCFAValue(), m_cfa)) { in InitializeNonZerothFrame()
570 if (!ReadFrameAddress(row_register_kind, active_row->GetCFAValue(), m_cfa)) { in InitializeNonZerothFrame()
1339 active_row->GetCFAValue(), cfa_value)) { in SavedLocationForRegister()
1648 active_row->GetCFAValue().GetValueType() != in TryFallbackUnwindPlan()
1652 active_row->GetCFAValue(), new_cfa) || in TryFallbackUnwindPlan()
1729 active_row->GetCFAValue().GetValueType() != in ForceSwitchToFallbackUnwindPlan()
1733 active_row->GetCFAValue(), new_cfa) || in ForceSwitchToFallbackUnwindPlan()
/external/llvm-project/lldb/source/Plugins/ABI/X86/
DABIMacOSX_i386.cpp365 row->GetCFAValue().SetIsRegisterPlusOffset(sp_reg_num, 4); in CreateFunctionEntryUnwindPlan()
390 row->GetCFAValue().SetIsRegisterPlusOffset(fp_reg_num, 2 * ptr_size); in CreateDefaultUnwindPlan()
DABISysV_i386.cpp628 row->GetCFAValue().SetIsRegisterPlusOffset(sp_reg_num, 4); in CreateFunctionEntryUnwindPlan()
653 row->GetCFAValue().SetIsRegisterPlusOffset(fp_reg_num, 2 * ptr_size); in CreateDefaultUnwindPlan()
DABIWindows_x86_64.cpp745 row->GetCFAValue().SetIsRegisterPlusOffset(sp_reg_num, 8); in CreateFunctionEntryUnwindPlan()
768 row->GetCFAValue().SetIsRegisterPlusOffset(dwarf_rbp, 2 * ptr_size); in CreateDefaultUnwindPlan()
DABISysV_x86_64.cpp863 row->GetCFAValue().SetIsRegisterPlusOffset(sp_reg_num, 8); in CreateFunctionEntryUnwindPlan()
888 row->GetCFAValue().SetIsRegisterPlusOffset(dwarf_rbp, 2 * ptr_size); in CreateDefaultUnwindPlan()
/external/llvm-project/lldb/include/lldb/Symbol/
DUnwindPlan.h343 FAValue &GetCFAValue() { return m_cfa_value; } in GetCFAValue() function
432 return m_row_list.front()->GetCFAValue().GetRegisterNumber(); in GetInitialCFARegister()
/external/llvm-project/lldb/source/Plugins/ObjectFile/PECOFF/
DPECallFrameInfo.cpp381 row->GetCFAValue().SetIsRegisterPlusOffset(it->reg, cfa_frame_offset - in BuildUnwindPlanRow()
392 row->GetCFAValue().SetIsRegisterPlusOffset(lldb_rsp_x86_64, in BuildUnwindPlanRow()
/external/llvm-project/lldb/source/Plugins/ABI/Hexagon/
DABISysV_hexagon.cpp1205 row->GetCFAValue().SetIsRegisterPlusOffset(LLDB_REGNUM_GENERIC_SP, 4); in CreateFunctionEntryUnwindPlan()
1228 row->GetCFAValue().SetIsRegisterPlusOffset(LLDB_REGNUM_GENERIC_FP, 8); in CreateDefaultUnwindPlan()
/external/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
DSymbolFileBreakpad.cpp484 row.GetCFAValue().SetIsDWARFExpression(saved.data(), saved.size()); in ParseCFIUnwindRow()
608 row_sp->GetCFAValue().SetRaSearch(record->LocalSize + in ParseWinUnwindPlan()
617 row_sp->GetCFAValue().SetIsDWARFExpression(saved.data(), saved.size()); in ParseWinUnwindPlan()
/external/llvm-project/lldb/source/Plugins/ABI/AArch64/
DABISysV_arm64.cpp332 row->GetCFAValue().SetIsRegisterPlusOffset(sp_reg_num, 0); in CreateFunctionEntryUnwindPlan()
357 row->GetCFAValue().SetIsRegisterPlusOffset(fp_reg_num, 2 * ptr_size); in CreateDefaultUnwindPlan()
DABIMacOSX_arm64.cpp360 row->GetCFAValue().SetIsRegisterPlusOffset(sp_reg_num, 0); in CreateFunctionEntryUnwindPlan()
385 row->GetCFAValue().SetIsRegisterPlusOffset(fp_reg_num, 2 * ptr_size); in CreateDefaultUnwindPlan()
/external/llvm-project/lldb/source/Plugins/ABI/Mips/
DABISysV_mips.cpp968 row->GetCFAValue().SetIsRegisterPlusOffset(dwarf_r29, 0); in CreateFunctionEntryUnwindPlan()
988 row->GetCFAValue().SetIsRegisterPlusOffset(dwarf_r29, 0); in CreateDefaultUnwindPlan()
/external/llvm-project/lldb/source/Plugins/ABI/PowerPC/
DABISysV_ppc.cpp879 row->GetCFAValue().SetIsRegisterPlusOffset(sp_reg_num, 0); in CreateFunctionEntryUnwindPlan()
903 row->GetCFAValue().SetIsRegisterDereferenced(sp_reg_num); in CreateDefaultUnwindPlan()

12