From 9a89d93d62525518faa518766b6fae4d14b26140 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Mon, 12 Nov 2018 19:08:19 +0000 Subject: Revert "Extract construction of DataBufferLLVM into FileSystem" It broke the lldb sanitizer bots. llvm-svn: 346694 --- lldb/source/Commands/CommandObjectMemory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands/CommandObjectMemory.cpp') diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp index fcd9cd84879..6a848d5363b 100644 --- a/lldb/source/Commands/CommandObjectMemory.cpp +++ b/lldb/source/Commands/CommandObjectMemory.cpp @@ -1357,7 +1357,7 @@ protected: size_t length = SIZE_MAX; if (item_byte_size > 1) length = item_byte_size; - auto data_sp = FileSystem::Instance().CreateDataBuffer( + auto data_sp = DataBufferLLVM::CreateSliceFromPath( m_memory_options.m_infile.GetPath(), length, m_memory_options.m_infile_offset); if (data_sp) { -- cgit v1.2.3