summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-03-19 05:48:47 +0000
committerZachary Turner <zturner@google.com>2017-03-19 05:48:47 +0000
commitd3d95fd66a57e48ab257bc8b804f622e763ceafb (patch)
tree660db500ae9a94d9a5b8d7a951675b783327a16d /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
parentc8c9f972580f06a466e42a77c01d820cba0d0106 (diff)
downloadbcm5719-llvm-d3d95fd66a57e48ab257bc8b804f622e763ceafb.tar.gz
bcm5719-llvm-d3d95fd66a57e48ab257bc8b804f622e763ceafb.zip
Remove FileSystem::MakeDirectory.
Have callers use llvm::sys::fs::create_directory() instead. Differential Revision: https://reviews.llvm.org/D31086 llvm-svn: 298203
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
index 6b5f8b076bb..604f3fb3dbc 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
@@ -794,7 +794,7 @@ GDBRemoteCommunicationServerCommon::Handle_qPlatform_mkdir(
if (packet.GetChar() == ',') {
std::string path;
packet.GetHexByteString(path);
- Error error = FileSystem::MakeDirectory(FileSpec{path, false}, mode);
+ Error error(llvm::sys::fs::create_directory(path, mode));
StreamGDBRemote response;
response.Printf("F%u", error.GetError());
OpenPOWER on IntegriCloud