diff options
author | Zachary Turner <zturner@google.com> | 2019-03-06 22:42:34 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2019-03-06 22:42:34 +0000 |
commit | 2157f57d2dd9345f1854b2809931ae4d81578b3e (patch) | |
tree | 5f40104fc3bb55ff6da0b1c860e9ad9ac2e96201 /lldb/source/API | |
parent | 83b88441ad951fe99c30402930ef3cd661f2fd2b (diff) | |
download | bcm5719-llvm-2157f57d2dd9345f1854b2809931ae4d81578b3e.tar.gz bcm5719-llvm-2157f57d2dd9345f1854b2809931ae4d81578b3e.zip |
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.
llvm-svn: 355559
Diffstat (limited to 'lldb/source/API')
-rw-r--r-- | lldb/source/API/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt index 70908cd7e9b..94c9e338f27 100644 --- a/lldb/source/API/CMakeLists.txt +++ b/lldb/source/API/CMakeLists.txt @@ -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) |