commit | 8f3be7a32b631e9ba584872c1f0dde8fd8536c07 | [log] [tgz] |
---|---|---|
author | Jonas Devlieghere <jonas@devlieghere.com> | Thu Nov 01 21:05:36 2018 +0000 |
committer | Jonas Devlieghere <jonas@devlieghere.com> | Thu Nov 01 21:05:36 2018 +0000 |
tree | b4cfca7eb1e0996decd88a2b1dd1954ff3d7ff28 | |
parent | 8487d22d12f5b7b5c745e5a5cdda61f8a07391e1 [diff] [blame] |
[FileSystem] Move path resolution logic out of FileSpec This patch removes the logic for resolving paths out of FileSpec and updates call sites to rely on the FileSystem class instead. Differential revision: https://reviews.llvm.org/D53915 llvm-svn: 345890
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp index 0585663..2cabe88 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
@@ -1333,7 +1333,7 @@ packet.SetFilePos(::strlen("QSetWorkingDir:")); std::string path; packet.GetHexByteString(path); - m_process_launch_info.SetWorkingDirectory(FileSpec{path, true}); + m_process_launch_info.SetWorkingDirectory(FileSpec(path)); return SendOKResponse(); }