[Lldb-commits] [lldb] r355559 - Pass /bigobj for SBReproducer.cpp with MSVC

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 6 14:42:34 PST 2019


Author: zturner
Date: Wed Mar  6 14:42:34 2019
New Revision: 355559

URL: http://llvm.org/viewvc/llvm-project?rev=355559&view=rev
Log:
Pass /bigobj for SBReproducer.cpp with MSVC

/BIGOBJ is used to bypass certain COFF file format
limitations and is used with, unsurprisingly, very big
object files.  This file has grown large enough that it
needs this flag in order to compile successfully.

Modified:
    lldb/trunk/source/API/CMakeLists.txt

Modified: lldb/trunk/source/API/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/CMakeLists.txt?rev=355559&r1=355558&r2=355559&view=diff
==============================================================================
--- lldb/trunk/source/API/CMakeLists.txt (original)
+++ lldb/trunk/source/API/CMakeLists.txt Wed Mar  6 14:42:34 2019
@@ -97,6 +97,10 @@ add_lldb_library(liblldb SHARED
     Support
   )
 
+if (MSVC)
+  set_source_files_properties(SBReproducer.cpp PROPERTIES COMPILE_FLAGS /bigobj)
+endif()
+
 if(lldb_python_wrapper)
   add_dependencies(liblldb swig_wrapper)
 




More information about the lldb-commits mailing list