teemperor updated this revision to Diff 246673.
teemperor added a comment.
- rebased on top of D75164 <https://reviews.llvm.org/D75164>
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74891/new/
https://reviews.llvm.org/D74891
Files:
lldb/tools/debugserver/CMakeLists.txt
Index: lldb/tools/debugserver/CMakeLists.txt
===================================================================
--- lldb/tools/debugserver/CMakeLists.txt
+++ lldb/tools/debugserver/CMakeLists.txt
@@ -13,6 +13,11 @@
include(debugserverConfig)
include(AddLLDB)
+ # debugserver contains ObjC++ code, so let's disable Clang modules
+ # in this subdirectory to avoid building ObjC++ modules (which often
+ # doesn't properly work).
+ remove_module_flags()
+
set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../")
include_directories(${LLDB_SOURCE_DIR}/include)
endif()
Index: lldb/tools/debugserver/CMakeLists.txt
===================================================================
--- lldb/tools/debugserver/CMakeLists.txt
+++ lldb/tools/debugserver/CMakeLists.txt
@@ -13,6 +13,11 @@
include(debugserverConfig)
include(AddLLDB)
+ # debugserver contains ObjC++ code, so let's disable Clang modules
+ # in this subdirectory to avoid building ObjC++ modules (which often
+ # doesn't properly work).
+ remove_module_flags()
+
set(LLDB_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../")
include_directories(${LLDB_SOURCE_DIR}/include)
endif()
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits