[Lldb-commits] [PATCH] D74891: [lldb] Never compile the debugserver with Clang module flags

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 6 17:39:32 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG4e7c686e46c3: [lldb] Never compile the debugserver with Clang module flags (authored by teemperor).

Repository:
  rG LLVM Github Monorepo

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()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74891.248867.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200307/d20fefc0/attachment.bin>


More information about the lldb-commits mailing list