[PATCH] D83991: With MSVC, file needs to be compiled with /BIGOBJ
Adrian McCarthy via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 17 09:43:31 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG14dde438d69c: With MSVC, file needs to be compiled with /BIGOBJ (authored by amccarth).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83991/new/
https://reviews.llvm.org/D83991
Files:
clang/lib/ARCMigrate/CMakeLists.txt
Index: clang/lib/ARCMigrate/CMakeLists.txt
===================================================================
--- clang/lib/ARCMigrate/CMakeLists.txt
+++ clang/lib/ARCMigrate/CMakeLists.txt
@@ -2,6 +2,12 @@
Support
)
+# By default MSVC has a 2^16 limit on the number of sections in an object
+# file, and Transforms.cpp needs more than that.
+if (MSVC)
+ set_source_files_properties(Transforms.cpp PROPERTIES COMPILE_FLAGS /bigobj)
+endif()
+
add_clang_library(clangARCMigrate
ARCMT.cpp
ARCMTActions.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83991.278813.patch
Type: text/x-patch
Size: 521 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200717/3755966e/attachment.bin>
More information about the cfe-commits
mailing list