================
@@ -103,7 +103,7 @@ Error AttachRequestHandler::Run(const
AttachRequestArguments &args) const {
if (llvm::Error err = dap.RunAttachCommands(args.attachCommands))
return err;
- dap.target = dap.debugger.GetSelectedTarget();
+ dap.SetTarget(dap.debugger.GetSelectedTarget());
----------------
JDevlieghere wrote:
Can we make the `target` member private and force everyone to go through the
accessors?
https://github.com/llvm/llvm-project/pull/200133
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits