[Lldb-commits] [PATCH] D79364: Move the Xcode SDK path caching to HostInfo

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon May 4 14:00:16 PDT 2020


aprantl created this revision.
aprantl added reviewers: friss, JDevlieghere.
Herald added a subscriber: fedor.sergeev.
aprantl added a parent revision: D79273: Add an explicit API to read the Xcode SDK DWARF attribute from compile units.

When debugging a remote platform, the platform you get from
GetPlatformForArchitecture doesn't inherit from PlatformDarwin.
HostInfoMacOSX seems like the right place to have a global store of
local paths.


https://reviews.llvm.org/D79364

Files:
  lldb/include/lldb/Host/HostInfoBase.h
  lldb/include/lldb/Host/macosx/HostInfoMacOSX.h
  lldb/source/Core/Module.cpp
  lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
  lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
  lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
  lldb/unittests/Host/HostInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79364.261923.patch
Type: text/x-patch
Size: 5114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200504/46b56435/attachment-0001.bin>


More information about the lldb-commits mailing list