[Lldb-commits] [PATCH] D43984: Make the clang module cache setting available without a target

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 1 16:34:17 PST 2018


aprantl created this revision.
aprantl added a reviewer: jingham.

It turns out that setting the clang module cache after LLDB has a Target can be too late. In particular, the Swift language plugin needs to know the setting without having access to a Target. This patch moves the setting into the *LLDB* module cache, where it is a global setting that is available before any Target is created and more importantly, is shared between all Targets.

rdar://problem/37944432


https://reviews.llvm.org/D43984

Files:
  include/lldb/Core/ModuleList.h
  include/lldb/Target/Target.h
  packages/Python/lldbsuite/test/lldbtest.py
  source/Core/Debugger.cpp
  source/Core/ModuleList.cpp
  source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  source/Target/Target.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43984.136633.patch
Type: text/x-patch
Size: 10052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180302/df54bfc0/attachment.bin>


More information about the lldb-commits mailing list