summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Platform.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/Target/Platform.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/Target/Platform.cpp')
-rw-r--r--lldb/source/Target/Platform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Platform.cpp b/lldb/source/Target/Platform.cpp
index 95182e17adf..d3f265da09e 100644
--- a/lldb/source/Target/Platform.cpp
+++ b/lldb/source/Target/Platform.cpp
@@ -761,7 +761,7 @@ bool Platform::SetWorkingDirectory(const FileSpec &file_spec) {
Error Platform::MakeDirectory(const FileSpec &file_spec, uint32_t permissions) {
if (IsHost())
- return FileSystem::MakeDirectory(file_spec, permissions);
+ return llvm::sys::fs::create_directory(file_spec.GetPath(), permissions);
else {
Error error;
error.SetErrorStringWithFormat("remote platform %s doesn't support %s",
OpenPOWER on IntegriCloud