diff options
author | Davide Italiano <davide@freebsd.org> | 2018-11-12 19:08:19 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2018-11-12 19:08:19 +0000 |
commit | 9a89d93d62525518faa518766b6fae4d14b26140 (patch) | |
tree | a65e0babe3bc9b0b1b0861aa2116784000b7a7c2 /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | 163107885339985f576afef02c76978d6b2a2401 (diff) | |
download | bcm5719-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/Commands/CommandObjectMemory.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectMemory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |