[clang] 9e194a3 - [sema] NFC Unable to build Sema library with MSVC Debug target due to missing /bigobj
via cfe-commits
cfe-commits at lists.llvm.org
Sat May 2 11:35:27 PDT 2020
Author: mydeveloperday
Date: 2020-05-02T19:34:58+01:00
New Revision: 9e194a3b9356c6ef0498609c1779043d1b6bb9e1
URL: https://github.com/llvm/llvm-project/commit/9e194a3b9356c6ef0498609c1779043d1b6bb9e1
DIFF: https://github.com/llvm/llvm-project/commit/9e194a3b9356c6ef0498609c1779043d1b6bb9e1.diff
LOG: [sema] NFC Unable to build Sema library with MSVC Debug target due to missing /bigobj
Summary:
Unable to build sema library on MSVC with Debug target
```
C:\clang\llvm-project\clang\lib\Sema\SemaOpenMP.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj
```
Reviewed By: aaron.ballman
Subscribers: mgorny, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D79292
Added:
Modified:
clang/lib/Sema/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/lib/Sema/CMakeLists.txt b/clang/lib/Sema/CMakeLists.txt
index 98f121f4b6f0..71def7129beb 100644
--- a/clang/lib/Sema/CMakeLists.txt
+++ b/clang/lib/Sema/CMakeLists.txt
@@ -9,6 +9,7 @@ if (MSVC)
set_source_files_properties(SemaExprCXX.cpp PROPERTIES COMPILE_FLAGS /bigobj)
set_source_files_properties(SemaTemplate.cpp PROPERTIES COMPILE_FLAGS /bigobj)
set_source_files_properties(SemaTemplateDeduction.cpp PROPERTIES COMPILE_FLAGS /bigobj)
+ set_source_files_properties(SemaOpenMP.cpp PROPERTIES COMPILE_FLAGS /bigobj)
endif()
clang_tablegen(OpenCLBuiltins.inc -gen-clang-opencl-builtins
More information about the cfe-commits
mailing list