Home
last modified time | relevance | path

Searched refs:reg_ctx (Results 1 – 25 of 48) sorted by relevance

12

/external/llvm-project/lldb/source/Plugins/ABI/AArch64/
DABIMacOSX_arm64.cpp61 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
62 if (!reg_ctx) in PrepareTrivialCall()
81 const uint32_t pc_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
83 const uint32_t sp_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
85 const uint32_t ra_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
93 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfo( in PrepareTrivialCall()
97 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall()
102 if (!reg_ctx->WriteRegisterFromUnsigned( in PrepareTrivialCall()
103 reg_ctx->GetRegisterInfoAtIndex(ra_reg_num), return_addr)) in PrepareTrivialCall()
107 if (!reg_ctx->WriteRegisterFromUnsigned( in PrepareTrivialCall()
[all …]
DABISysV_arm64.cpp64 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
65 if (!reg_ctx) in PrepareTrivialCall()
89 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfo( in PrepareTrivialCall()
93 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall()
98 if (!reg_ctx->WriteRegisterFromUnsigned( in PrepareTrivialCall()
99 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, in PrepareTrivialCall()
105 if (!reg_ctx->WriteRegisterFromUnsigned( in PrepareTrivialCall()
106 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, in PrepareTrivialCall()
112 if (!reg_ctx->WriteRegisterFromUnsigned( in PrepareTrivialCall()
113 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, in PrepareTrivialCall()
[all …]
/external/llvm-project/lldb/source/Plugins/ABI/X86/
DABISysV_i386.cpp86 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
88 if (!reg_ctx) in PrepareTrivialCall()
91 uint32_t pc_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
93 uint32_t sp_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
100 const RegisterInfo *reg_info_32 = reg_ctx->GetRegisterInfoByName("eax"); in PrepareTrivialCall()
117 error = reg_ctx->WriteRegisterValueToMemory( in PrepareTrivialCall()
127 error = reg_ctx->WriteRegisterValueToMemory( in PrepareTrivialCall()
133 if (!reg_ctx->WriteRegisterFromUnsigned(sp_reg_num, sp)) in PrepareTrivialCall()
137 if (!reg_ctx->WriteRegisterFromUnsigned(pc_reg_num, func_addr)) in PrepareTrivialCall()
164 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in GetArgumentValues() local
[all …]
DABIMacOSX_i386.cpp64 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
65 if (!reg_ctx) in PrepareTrivialCall()
67 uint32_t pc_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
69 uint32_t sp_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
76 const RegisterInfo *reg_info_32 = reg_ctx->GetRegisterInfoByName("eax"); in PrepareTrivialCall()
95 error = reg_ctx->WriteRegisterValueToMemory( in PrepareTrivialCall()
106 error = reg_ctx->WriteRegisterValueToMemory( in PrepareTrivialCall()
113 if (!reg_ctx->WriteRegisterFromUnsigned(sp_reg_num, sp)) in PrepareTrivialCall()
118 if (!reg_ctx->WriteRegisterFromUnsigned(pc_reg_num, func_addr)) in PrepareTrivialCall()
146 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in GetArgumentValues() local
[all …]
DABIWindows_x86_64.cpp143 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
144 if (!reg_ctx) in PrepareTrivialCall()
153 reg_info = reg_ctx->GetRegisterInfo(eRegisterKindGeneric, in PrepareTrivialCall()
157 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall()
172 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC); in PrepareTrivialCall()
174 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_SP); in PrepareTrivialCall()
191 if (!reg_ctx->WriteRegisterFromUnsigned(sp_reg_info, sp)) in PrepareTrivialCall()
198 if (!reg_ctx->WriteRegisterFromUnsigned(pc_reg_info, func_addr)) in PrepareTrivialCall()
237 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in GetArgumentValues() local
239 if (!reg_ctx) in GetArgumentValues()
[all …]
DABISysV_x86_64.cpp127 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
128 if (!reg_ctx) in PrepareTrivialCall()
137 reg_info = reg_ctx->GetRegisterInfo(eRegisterKindGeneric, in PrepareTrivialCall()
141 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall()
156 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC); in PrepareTrivialCall()
158 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_SP); in PrepareTrivialCall()
175 if (!reg_ctx->WriteRegisterFromUnsigned(sp_reg_info, sp)) in PrepareTrivialCall()
182 if (!reg_ctx->WriteRegisterFromUnsigned(pc_reg_info, func_addr)) in PrepareTrivialCall()
222 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in GetArgumentValues() local
224 if (!reg_ctx) in GetArgumentValues()
[all …]
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DFreeBSDThread.cpp192 RegisterContextPOSIXProcessMonitor_arm64 *reg_ctx = in GetRegisterContext() local
195 m_posix_thread = reg_ctx; in GetRegisterContext()
196 m_reg_context_sp.reset(reg_ctx); in GetRegisterContext()
200 RegisterContextPOSIXProcessMonitor_arm *reg_ctx = in GetRegisterContext() local
203 m_posix_thread = reg_ctx; in GetRegisterContext()
204 m_reg_context_sp.reset(reg_ctx); in GetRegisterContext()
208 RegisterContextPOSIXProcessMonitor_mips64 *reg_ctx = in GetRegisterContext() local
211 m_posix_thread = reg_ctx; in GetRegisterContext()
212 m_reg_context_sp.reset(reg_ctx); in GetRegisterContext()
217 RegisterContextPOSIXProcessMonitor_powerpc *reg_ctx = in GetRegisterContext() local
[all …]
/external/llvm-project/lldb/source/Plugins/ABI/Mips/
DABISysV_mips.cpp586 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
587 if (!reg_ctx) in PrepareTrivialCall()
604 reg_info = reg_ctx->GetRegisterInfo(eRegisterKindGeneric, in PrepareTrivialCall()
609 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall()
627 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfo( in PrepareTrivialCall()
638 if (reg_ctx in PrepareTrivialCall()
650 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC); in PrepareTrivialCall()
652 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_SP); in PrepareTrivialCall()
654 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_RA); in PrepareTrivialCall()
655 const RegisterInfo *r25_info = reg_ctx->GetRegisterInfoByName("r25", 0); in PrepareTrivialCall()
[all …]
DABISysV_mips64.cpp583 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
584 if (!reg_ctx) in PrepareTrivialCall()
593 reg_info = reg_ctx->GetRegisterInfo(eRegisterKindGeneric, in PrepareTrivialCall()
597 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall()
610 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC); in PrepareTrivialCall()
612 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_SP); in PrepareTrivialCall()
614 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_RA); in PrepareTrivialCall()
615 const RegisterInfo *r25_info = reg_ctx->GetRegisterInfoByName("r25", 0); in PrepareTrivialCall()
616 const RegisterInfo *r0_info = reg_ctx->GetRegisterInfoByName("zero", 0); in PrepareTrivialCall()
624 if (!reg_ctx->WriteRegisterFromUnsigned(r0_info, (uint64_t)0)) in PrepareTrivialCall()
[all …]
/external/llvm-project/lldb/source/Plugins/ABI/ARC/
DABISysV_arc.cpp146 bool ABISysV_arc::IsRegisterFileReduced(RegisterContext &reg_ctx) const { in IsRegisterFileReduced()
148 const auto *const rf_build_reg = reg_ctx.GetRegisterInfoByName("rf_build"); in IsRegisterFileReduced()
150 const auto reg_value = reg_ctx.ReadRegisterAsUnsigned(rf_build_reg, in IsRegisterFileReduced()
200 auto reg_ctx = thread.GetRegisterContext(); in PrepareTrivialCall() local
201 if (!reg_ctx) in PrepareTrivialCall()
204 uint32_t pc_reg = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
209 uint32_t ra_reg = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
214 uint32_t sp_reg = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
245 const size_t regs_for_args_count = IsRegisterFileReduced(*reg_ctx) ? 4U : 8U; in PrepareTrivialCall()
277 if (!reg_ctx->WriteRegister( in PrepareTrivialCall()
[all …]
/external/llvm-project/lldb/source/Plugins/ABI/ARM/
DABIMacOSX_arm.cpp1325 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
1326 if (!reg_ctx) in PrepareTrivialCall()
1329 const uint32_t pc_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
1331 const uint32_t sp_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
1333 const uint32_t ra_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
1347 if (!reg_ctx->WriteRegister(reg_ctx->GetRegisterInfoByName(reg_names[i]), in PrepareTrivialCall()
1363 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfo( in PrepareTrivialCall()
1370 if (reg_ctx in PrepareTrivialCall()
1389 if (!reg_ctx->WriteRegisterFromUnsigned(ra_reg_num, return_addr)) in PrepareTrivialCall()
1397 const RegisterInfo *cpsr_reg_info = reg_ctx->GetRegisterInfoByName("cpsr"); in PrepareTrivialCall()
[all …]
DABISysV_arm.cpp1328 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
1329 if (!reg_ctx) in PrepareTrivialCall()
1332 const uint32_t pc_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
1334 const uint32_t sp_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
1336 const uint32_t ra_reg_num = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
1352 if (!reg_ctx->WriteRegister( in PrepareTrivialCall()
1353 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, reg_names[i]), in PrepareTrivialCall()
1369 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfo( in PrepareTrivialCall()
1376 if (reg_ctx in PrepareTrivialCall()
1395 if (!reg_ctx->WriteRegisterFromUnsigned(ra_reg_num, return_addr)) in PrepareTrivialCall()
[all …]
/external/llvm-project/lldb/source/Plugins/ABI/SystemZ/
DABISysV_s390x.cpp215 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
216 if (!reg_ctx) in PrepareTrivialCall()
220 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC); in PrepareTrivialCall()
222 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_SP); in PrepareTrivialCall()
223 const RegisterInfo *ra_reg_info = reg_ctx->GetRegisterInfoByName("r14", 0); in PrepareTrivialCall()
240 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfo( in PrepareTrivialCall()
244 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall()
260 if (!reg_ctx->WriteRegisterFromUnsigned(ra_reg_info, return_addr)) in PrepareTrivialCall()
267 if (!reg_ctx->WriteRegisterFromUnsigned(sp_reg_info, sp)) in PrepareTrivialCall()
274 if (!reg_ctx->WriteRegisterFromUnsigned(pc_reg_info, func_addr)) in PrepareTrivialCall()
[all …]
/external/llvm-project/lldb/source/Commands/
DCommandObjectRegister.cpp87 RegisterContext *reg_ctx, const RegisterInfo *reg_info) { in DumpRegister() argument
91 if (reg_ctx->ReadRegister(reg_info, reg_value)) { in DumpRegister()
123 RegisterContext *reg_ctx, size_t set_idx, in DumpRegisterSet() argument
128 if (!reg_ctx) in DumpRegisterSet()
132 const RegisterSet *const reg_set = reg_ctx->GetRegisterSet(set_idx); in DumpRegisterSet()
139 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg); in DumpRegisterSet()
144 if (DumpRegister(exe_ctx, strm, reg_ctx, reg_info)) in DumpRegisterSet()
162 RegisterContext *reg_ctx = m_exe_ctx.GetRegisterContext(); in DoExecute() local
174 if (set_idx < reg_ctx->GetRegisterSetCount()) { in DoExecute()
175 if (!DumpRegisterSet(m_exe_ctx, strm, reg_ctx, set_idx)) { in DoExecute()
[all …]
/external/llvm-project/lldb/source/Plugins/ABI/PowerPC/
DABISysV_ppc64.cpp100 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
101 if (!reg_ctx) in PrepareTrivialCall()
110 reg_info = reg_ctx->GetRegisterInfo(eRegisterKindGeneric, in PrepareTrivialCall()
114 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall()
130 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC); in PrepareTrivialCall()
132 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_SP); in PrepareTrivialCall()
135 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_RA); in PrepareTrivialCall()
136 const RegisterInfo *r2_reg_info = reg_ctx->GetRegisterInfoAtIndex(2); in PrepareTrivialCall()
137 const RegisterInfo *r12_reg_info = reg_ctx->GetRegisterInfoAtIndex(12); in PrepareTrivialCall()
149 if (!reg_ctx->WriteRegisterFromUnsigned(lr_reg_info, return_addr)) in PrepareTrivialCall()
[all …]
DABISysV_ppc.cpp249 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
250 if (!reg_ctx) in PrepareTrivialCall()
259 reg_info = reg_ctx->GetRegisterInfo(eRegisterKindGeneric, in PrepareTrivialCall()
263 if (!reg_ctx->WriteRegisterFromUnsigned(reg_info, args[i])) in PrepareTrivialCall()
278 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC); in PrepareTrivialCall()
280 reg_ctx->GetRegisterInfo(eRegisterKindGeneric, LLDB_REGNUM_GENERIC_SP); in PrepareTrivialCall()
298 if (!reg_ctx->WriteRegisterFromUnsigned(sp_reg_info, sp)) in PrepareTrivialCall()
305 if (!reg_ctx->WriteRegisterFromUnsigned(pc_reg_info, func_addr)) in PrepareTrivialCall()
344 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in GetArgumentValues() local
346 if (!reg_ctx) in GetArgumentValues()
[all …]
/external/arm-trusted-firmware/lib/el3_runtime/aarch32/
Dcontext_mgmt.c58 regs_t *reg_ctx; in cm_setup_context() local
67 reg_ctx = get_regs_ctx(ctx); in cm_setup_context()
102 write_ctx_reg(reg_ctx, CTX_NS_SCTLR, sctlr); in cm_setup_context()
117 write_ctx_reg(reg_ctx, CTX_SCR, scr); in cm_setup_context()
118 write_ctx_reg(reg_ctx, CTX_LR, ep->pc); in cm_setup_context()
119 write_ctx_reg(reg_ctx, CTX_SPSR, ep->spsr); in cm_setup_context()
125 memcpy((void *)reg_ctx, (void *)&ep->args, sizeof(aapcs32_params_t)); in cm_setup_context()
/external/llvm-project/lldb/unittests/Process/Utility/
DRegisterContextFreeBSDTest.cpp33 EXPECT_THAT(GetRegParams(reg_ctx, lldb_##regname), \
40 GetRegParams(reg_ctx, lldb_##regname##_x86_64), \
47 RegisterContextFreeBSD_x86_64 reg_ctx{arch}; in TEST() local
76 size_t base_offset = reg_ctx.GetRegisterInfo()[lldb_fctrl_x86_64].byte_offset; in TEST()
129 base_offset = reg_ctx.GetRegisterInfo()[lldb_dr0_x86_64].byte_offset; in TEST()
145 EXPECT_THAT(GetRegParams(reg_ctx, lldb_##regname##_i386), \
154 RegisterContextFreeBSD_i386 reg_ctx{arch}; in TEST() local
183 size_t base_offset = reg_ctx.GetRegisterInfo()[lldb_fctrl_i386].byte_offset; in TEST()
224 base_offset = reg_ctx.GetRegisterInfo()[lldb_dr0_i386].byte_offset; in TEST()
/external/llvm-project/lldb/source/Target/
DThreadPlanTracer.cpp137 RegisterContext *reg_ctx = GetThread().GetRegisterContext().get(); in Log() local
139 lldb::addr_t pc = reg_ctx->GetPC(); in Log()
212 RegisterContext *reg_ctx = GetThread().GetRegisterContext().get(); in Log() local
213 m_register_values.resize(reg_ctx->GetRegisterCount()); in Log()
217 for (uint32_t reg_num = 0, num_registers = reg_ctx->GetRegisterCount(); in Log()
219 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg_num); in Log()
220 if (reg_ctx->ReadRegister(reg_info, reg_value)) { in Log()
/external/llvm-project/lldb/source/Plugins/ABI/Hexagon/
DABISysV_hexagon.cpp1060 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in PrepareTrivialCall() local
1061 if (!reg_ctx) in PrepareTrivialCall()
1064 uint32_t pc_reg = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
1069 uint32_t ra_reg = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
1074 uint32_t sp_reg = reg_ctx->ConvertRegisterKindToRegisterNumber( in PrepareTrivialCall()
1126 if (!reg_ctx->WriteRegisterFromUnsigned(i, param)) in PrepareTrivialCall()
1151 reg_ctx->WriteRegisterFromUnsigned(pc_reg, pc); in PrepareTrivialCall()
1152 reg_ctx->WriteRegisterFromUnsigned(ra_reg, ra); in PrepareTrivialCall()
1153 reg_ctx->WriteRegisterFromUnsigned(sp_reg, sp); in PrepareTrivialCall()
1300 RegisterContext *reg_ctx = thread.GetRegisterContext().get(); in GetReturnValueObjectImpl() local
[all …]
/external/llvm-project/lldb/source/Core/
DValueObjectRegister.cpp52 lldb::RegisterContextSP &reg_ctx, in ValueObjectRegisterSet() argument
54 : ValueObject(exe_scope, manager), m_reg_ctx_sp(reg_ctx), in ValueObjectRegisterSet()
56 assert(reg_ctx); in ValueObjectRegisterSet()
57 m_reg_set = reg_ctx->GetRegisterSet(m_reg_set_idx); in ValueObjectRegisterSet()
188 lldb::RegisterContextSP &reg_ctx, in ValueObjectRegister() argument
190 : ValueObject(exe_scope, manager), m_reg_ctx_sp(reg_ctx), m_reg_info(), in ValueObjectRegister()
192 assert(reg_ctx); in ValueObjectRegister()
DValueObjectVariable.cpp362 RegisterContext *reg_ctx = exe_ctx.GetRegisterContext(); in SetValueFromCString() local
364 if (!reg_info || !reg_ctx) { in SetValueFromCString()
371 if (reg_ctx->WriteRegister(reg_info, reg_value)) { in SetValueFromCString()
391 RegisterContext *reg_ctx = exe_ctx.GetRegisterContext(); in SetData() local
393 if (!reg_info || !reg_ctx) { in SetData()
400 if (reg_ctx->WriteRegister(reg_info, reg_value)) { in SetData()
/external/llvm-project/lldb/source/Plugins/ObjectFile/Mach-O/
DObjectFileMachO.cpp113 static void PrintRegisterValue(RegisterContext *reg_ctx, const char *name, in PrintRegisterValue() argument
116 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoByName(name); in PrintRegisterValue()
118 reg_info = reg_ctx->GetRegisterInfoByName(alt_name); in PrintRegisterValue()
121 if (reg_ctx->ReadRegister(reg_info, reg_value)) { in PrintRegisterValue()
201 RegisterContext *reg_ctx = reg_ctx_sp.get(); in Create_LC_THREAD() local
205 PrintRegisterValue(reg_ctx, "rax", nullptr, 8, data); in Create_LC_THREAD()
206 PrintRegisterValue(reg_ctx, "rbx", nullptr, 8, data); in Create_LC_THREAD()
207 PrintRegisterValue(reg_ctx, "rcx", nullptr, 8, data); in Create_LC_THREAD()
208 PrintRegisterValue(reg_ctx, "rdx", nullptr, 8, data); in Create_LC_THREAD()
209 PrintRegisterValue(reg_ctx, "rdi", nullptr, 8, data); in Create_LC_THREAD()
[all …]
/external/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/
DUnwindAssembly-x86.cpp60 RegisterContextSP reg_ctx(thread.GetRegisterContext()); in GetNonCallSiteUnwindPlanFromAssembly() local
61 m_assembly_inspection_engine->Initialize(reg_ctx); in GetNonCallSiteUnwindPlanFromAssembly()
162 RegisterContextSP reg_ctx(thread.GetRegisterContext()); in AugmentUnwindPlanFromCallSite() local
163 m_assembly_inspection_engine->Initialize(reg_ctx); in AugmentUnwindPlanFromCallSite()
165 function_text.data(), func.GetByteSize(), func, unwind_plan, reg_ctx); in AugmentUnwindPlanFromCallSite()
/external/llvm-project/lldb/source/Plugins/Instruction/ARM/
DEmulationStateARM.cpp30 RegisterContext *reg_ctx = frame.GetRegisterContext().get(); in LoadPseudoRegistersFromFrame() local
36 reg_ctx->ConvertRegisterKindToRegisterNumber(eRegisterKindDWARF, i); in LoadPseudoRegistersFromFrame()
37 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg_num); in LoadPseudoRegistersFromFrame()
39 if (reg_ctx->ReadRegister(reg_info, reg_value)) { in LoadPseudoRegistersFromFrame()
47 reg_ctx->ConvertRegisterKindToRegisterNumber(eRegisterKindDWARF, i); in LoadPseudoRegistersFromFrame()
49 const RegisterInfo *reg_info = reg_ctx->GetRegisterInfoAtIndex(reg_num); in LoadPseudoRegistersFromFrame()
51 if (reg_ctx->ReadRegister(reg_info, reg_value)) { in LoadPseudoRegistersFromFrame()

12