[Lldb-commits] [PATCH] D47929: Add modulemap to lldb include directory

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 12 07:47:28 PDT 2018

teemperor planned changes to this revision.
teemperor added a comment.

It seems the compilation fails on OS X with this modulemap (or any modulemap). The reason seems to be that on OS X we compile Obj-C++ as part of lldb which assumes that Clang/LLVM is valid Obj-C++. However, the Obj-C parsing code in Clang is *not* valid Obj-C++ as some parts of the code use variables named like `IBAction` for describing, well, `IBAction` in Obj-C.

So we either try to disable modules for the Obj-C++ code or we make Clang's source code Obj-C++ compatible.


More information about the lldb-commits mailing list