[lldb] Provide GetHomeDirectory wrapper in Host::FileSystem (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 20 Aug 2020 18:36:32 +0000 (11:36 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 20 Aug 2020 21:07:05 +0000 (14:07 -0700)
commit921c1b7df37d6f5353ed5fdffa117dcda0c941ba
tree66fbcd00b91155b27cf1cb53df00f111227ab6df
parent74ca5275e9509e5ec4e9f1d9123bc10674734b20
[lldb] Provide GetHomeDirectory wrapper in Host::FileSystem (NFC)

Provider a wrapper around llvm::sys::path::home_directory in the
FileSystem class. This will make it possible for the reproducers to
intercept the call in a central place.
lldb/include/lldb/Host/FileSystem.h
lldb/source/API/SBHostOS.cpp
lldb/source/Host/common/Editline.cpp
lldb/source/Host/common/FileSystem.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Target/Platform.cpp