From: Tatyana Krasnukha Date: Fri, 19 Feb 2021 22:21:05 +0000 (+0300) Subject: [lldb/Target] Remove outdated code X-Git-Tag: llvmorg-14-init~13821 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d6a6f3b0c710ccd6558644d195cf939c4995d84;p=platform%2Fupstream%2Fllvm.git [lldb/Target] Remove outdated code Arg0 callback does work. --- diff --git a/lldb/include/lldb/Target/Target.h b/lldb/include/lldb/Target/Target.h index f35f4e9..737efaf 100644 --- a/lldb/include/lldb/Target/Target.h +++ b/lldb/include/lldb/Target/Target.h @@ -211,7 +211,7 @@ public: void SetDisplayRecognizedArguments(bool b); - const ProcessLaunchInfo &GetProcessLaunchInfo(); + const ProcessLaunchInfo &GetProcessLaunchInfo() const; void SetProcessLaunchInfo(const ProcessLaunchInfo &launch_info); diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index 6cf9d54..98f63a8 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -4196,8 +4196,7 @@ void TargetProperties::SetNonStopModeEnabled(bool b) { m_collection_sp->SetPropertyAtIndexAsBoolean(nullptr, idx, b); } -const ProcessLaunchInfo &TargetProperties::GetProcessLaunchInfo() { - m_launch_info.SetArg0(GetArg0()); // FIXME: Arg0 callback doesn't work +const ProcessLaunchInfo &TargetProperties::GetProcessLaunchInfo() const { return m_launch_info; }