diff options
author | Adrian Prantl <aprantl@apple.com> | 2018-03-02 22:42:44 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2018-03-02 22:42:44 +0000 |
commit | 235354be57e3b9933f9454e964b8fbe12663dfbb (patch) | |
tree | cc6b9c32f36ea15fa225d080b3a79e25b5509c20 /lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/module.modulemap | |
parent | e3e963236a3461c977f3968326aff1ee6bb36287 (diff) | |
download | bcm5719-llvm-235354be57e3b9933f9454e964b8fbe12663dfbb.tar.gz bcm5719-llvm-235354be57e3b9933f9454e964b8fbe12663dfbb.zip |
Make the clang module cache setting available without a target
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
Differential Revision: https://reviews.llvm.org/D43984
llvm-svn: 326628
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/module.modulemap')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/module.modulemap | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/module.modulemap b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/module.modulemap new file mode 100644 index 00000000000..f54534a1c07 --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/lang/objc/modules-cache/module.modulemap @@ -0,0 +1,3 @@ +module Foo { + header "f.h" +} |