diff options
author | Walter Erquinigo <a20012251@gmail.com> | 2024-11-05 07:12:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-05 07:12:20 -0500 |
commit | 5d39e0c7e1b50fc9a0f77daeef5eb63bcbba5b35 (patch) | |
tree | a458036bb47bab1e029e9344d3473074fd60da5d /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | 05e838f428555bcc4507bd37912da60ea9110ef6 (diff) | |
download | llvm-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.cpp | 7 |
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(), |