[Lldb-commits] [lldb] [lldb][AArch64][Linux] Add field information for the CPSR register (PR #70300)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 6 12:40:38 PST 2023
================
@@ -67,6 +70,21 @@ RegisterContextCorePOSIX_arm64::RegisterContextCorePOSIX_arm64(
: RegisterContextPOSIX_arm64(thread, std::move(register_info)) {
::memset(&m_sme_pseudo_regs, 0, sizeof(m_sme_pseudo_regs));
+ ProcessElfCore *process =
+ static_cast<ProcessElfCore *>(thread.GetProcess().get());
----------------
bulbazord wrote:
I don't think you need to do this right now, but it would be nice if we could move away from `static_cast` and start using the llvm RTTI support with `llvm::cast` instead...
https://github.com/llvm/llvm-project/pull/70300
More information about the lldb-commits
mailing list