diff options
author | Raphael Isemann <teemperor@gmail.com> | 2018-06-13 15:50:45 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2018-06-13 15:50:45 +0000 |
commit | 2c77eefe85efa59081c48afa3edb652365f8d1ac (patch) | |
tree | 34dbe9b0a1f45eefa9f9aa6f4999f361add814d9 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | f6ee0c9071c1de7c9fc9e81917dcd9ef9b6045d6 (diff) | |
download | llvm-2c77eefe85efa59081c48afa3edb652365f8d1ac.zip llvm-2c77eefe85efa59081c48afa3edb652365f8d1ac.tar.gz llvm-2c77eefe85efa59081c48afa3edb652365f8d1ac.tar.bz2 |
Add modules support for lldb headers in include/
Summary:
This patch adds a modulemap which allows compiling the lldb headers into C++ modules
(for example in builds with LLVM_ENABLE_MODULES=On).
Even though most of the affected code has been cleaned up to work with the more strict
C++ module semantics, there are still some workarounds left in the current modulemap
(the most obvious one is the big `lldb` wrapper module).
It also moves the Obj-C++ files in lldb to their own subdirectories. This was necessary
because we need to filter out the modules flags for this code.
Note: With the latest clang and libstdc++ it seems necessary to have a STL C++ module
to get a working LLVM_ENABLE_MODULES build for lldb. Otherwise clang will falsely
detect ODR violations in the textually included STL code inside the lldb modules.
Reviewers: aprantl, bruno
Reviewed By: aprantl, bruno
Subscribers: mgorny, yamaguchi, v.g.vassilev, lldb-commits
Differential Revision: https://reviews.llvm.org/D47929
llvm-svn: 334611
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions