summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/Host.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2018-11-12 19:08:19 +0000
committerDavide Italiano <davide@freebsd.org>2018-11-12 19:08:19 +0000
commit9a89d93d62525518faa518766b6fae4d14b26140 (patch)
treea65e0babe3bc9b0b1b0861aa2116784000b7a7c2 /lldb/source/Host/common/Host.cpp
parent163107885339985f576afef02c76978d6b2a2401 (diff)
downloadbcm5719-llvm-9a89d93d62525518faa518766b6fae4d14b26140.tar.gz
bcm5719-llvm-9a89d93d62525518faa518766b6fae4d14b26140.zip
Revert "Extract construction of DataBufferLLVM into FileSystem"
It broke the lldb sanitizer bots. llvm-svn: 346694
Diffstat (limited to 'lldb/source/Host/common/Host.cpp')
-rw-r--r--lldb/source/Host/common/Host.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp
index 55d174c9057..11af400a41b 100644
--- a/lldb/source/Host/common/Host.cpp
+++ b/lldb/source/Host/common/Host.cpp
@@ -564,7 +564,7 @@ Status Host::RunShellCommand(const Args &args, const FileSpec &working_dir,
"shell command output is too large to fit into a std::string");
} else {
auto Buffer =
- FileSystem::Instance().CreateDataBuffer(output_file_spec);
+ DataBufferLLVM::CreateFromPath(output_file_spec.GetPath());
if (error.Success())
command_output_ptr->assign(Buffer->GetChars(),
Buffer->GetByteSize());
OpenPOWER on IntegriCloud