[Lldb-commits] [lldb] [lldb] Fix reading 32-bit signed integers (PR #169150)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 24 03:02:01 PST 2025
================
@@ -85,6 +88,13 @@ TargetSP CreateTarget(DebuggerSP &debugger_sp, ArchSpec &arch) {
return target_sp;
}
+static void OverrideTargetProcess(Target *target, lldb::ProcessSP process) {
+ struct TargetHack : public Target {
+ void SetProcess(lldb::ProcessSP process) { m_process_sp = process; }
+ };
+ static_cast<TargetHack *>(target)->SetProcess(process);
+}
+
----------------
DavidSpickett wrote:
Declare this as close to first use as you can.
https://github.com/llvm/llvm-project/pull/169150
More information about the lldb-commits
mailing list