aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorWalter Erquinigo <a20012251@gmail.com>2024-11-05 07:12:20 -0500
committerGitHub <noreply@github.com>2024-11-05 07:12:20 -0500
commit5d39e0c7e1b50fc9a0f77daeef5eb63bcbba5b35 (patch)
treea458036bb47bab1e029e9344d3473074fd60da5d /lldb/source/Commands/CommandObjectProcess.cpp
parent05e838f428555bcc4507bd37912da60ea9110ef6 (diff)
downloadllvm-5d39e0c7e1b50fc9a0f77daeef5eb63bcbba5b35.zip
llvm-5d39e0c7e1b50fc9a0f77daeef5eb63bcbba5b35.tar.gz
llvm-5d39e0c7e1b50fc9a0f77daeef5eb63bcbba5b35.tar.bz2
Revert "[LLDB] Add a target.launch-working-dir setting" (#114973)
Reverts llvm/llvm-project#113521 due to build bot failures mentioned in the original PR.
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectProcess.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp
index 7444e46..e7c7d07 100644
--- a/lldb/source/Commands/CommandObjectProcess.cpp
+++ b/lldb/source/Commands/CommandObjectProcess.cpp
@@ -201,13 +201,6 @@ protected:
if (target->GetDisableSTDIO())
m_options.launch_info.GetFlags().Set(eLaunchFlagDisableSTDIO);
- if (!m_options.launch_info.GetWorkingDirectory()) {
- if (llvm::StringRef wd = target->GetLaunchWorkingDirectory();
- !wd.empty()) {
- m_options.launch_info.SetWorkingDirectory(FileSpec(wd));
- }
- }
-
// Merge the launch info environment with the target environment.
Environment target_env = target->GetEnvironment();
m_options.launch_info.GetEnvironment().insert(target_env.begin(),