Re-land "Extract construction of DataBufferLLVM into FileSystem"
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 12 Nov 2018 21:24:50 +0000 (21:24 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 12 Nov 2018 21:24:50 +0000 (21:24 +0000)
commit87e403aa4f62d7385999041abce5fdadb8741a47
tree50a1ddaec65b06269d32c1455915f0fd4340f41e
parente565e5a9621de42e7b82ad50803fe03beafa0334
Re-land "Extract construction of DataBufferLLVM into FileSystem"

This fixes some UB in isLocal detected by the sanitized bot.

llvm-svn: 346707
18 files changed:
lldb/include/lldb/Host/FileSystem.h
lldb/include/lldb/Utility/DataBufferLLVM.h
lldb/source/API/SBSection.cpp
lldb/source/Commands/CommandObjectMemory.cpp
lldb/source/Core/SourceManager.cpp
lldb/source/Host/common/FileSystem.cpp
lldb/source/Host/common/Host.cpp
lldb/source/Host/linux/Host.cpp
lldb/source/Interpreter/OptionValueFileSpec.cpp
lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
lldb/source/Symbol/ObjectFile.cpp
lldb/source/Utility/DataBufferLLVM.cpp
lldb/unittests/Process/minidump/MinidumpParserTest.cpp