diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-06-26 17:45:26 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-06-26 17:45:26 +0000 |
commit | 7a17a8ba1e9c942b7e28566179eccc453f96b056 (patch) | |
tree | 79cb3c59f891c1423c2c56afb22fbfa8e615b687 /clang/lib/CodeGen | |
parent | ee15d3dcdb459245820adb443d81f535d7d19f65 (diff) | |
download | bcm5719-llvm-7a17a8ba1e9c942b7e28566179eccc453f96b056.tar.gz bcm5719-llvm-7a17a8ba1e9c942b7e28566179eccc453f96b056.zip |
Compile CodeGenModule.cpp with /bigobj.
Apparently we're now hitting an object file section limit on this
file with expensive checks enabled.
llvm-svn: 335636
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CMakeLists.txt b/clang/lib/CodeGen/CMakeLists.txt index 29e54966a0e..2a0f4f0e83e 100644 --- a/clang/lib/CodeGen/CMakeLists.txt +++ b/clang/lib/CodeGen/CMakeLists.txt @@ -32,6 +32,10 @@ if (CLANG_BUILT_STANDALONE) set(codegen_deps) endif() +if (MSVC) + set_source_files_properties(CodeGenModule.cpp PROPERTIES COMPILE_FLAGS /bigobj) +endif() + add_clang_library(clangCodeGen BackendUtil.cpp CGAtomic.cpp |