================
@@ -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);
+}
+
----------------
igorkudrin wrote:
Moved this into a new function `CreateProcess()`.
https://github.com/llvm/llvm-project/pull/169150
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits