On Windows build, making the /bigobj flag global , instead of passing it per file.
authorZahira Ammarguellat <Zahira.Ammarguellat@intel.com>
Tue, 28 Jul 2020 22:59:33 +0000 (17:59 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Tue, 28 Jul 2020 23:04:36 +0000 (18:04 -0500)
commit80bd6ae13ea23d453a1f45d6ccdbfc7d0c877bb0
tree8dde24907d94f03eb010fafe95e60f5bb26afb22
parent9cf98d26e7b1204478cc13ae3df44a6843965c11
On Windows build, making the /bigobj flag global , instead of passing it per file.

To avoid having this flag be passed in per/file manner, we are instead
passing it globally.

This fixes this bug: https://bugs.llvm.org/show_bug.cgi?id=46733

Reviewed-by: aaron.ballman, beanz, meinersbur
Differential Revision: https://reviews.llvm.org/D84038
clang/lib/ASTMatchers/Dynamic/CMakeLists.txt
clang/lib/CodeGen/CMakeLists.txt
clang/lib/Sema/CMakeLists.txt
clang/unittests/AST/CMakeLists.txt
clang/unittests/ASTMatchers/CMakeLists.txt
clang/unittests/Tooling/CMakeLists.txt
lldb/source/API/CMakeLists.txt
llvm/cmake/modules/HandleLLVMOptions.cmake
llvm/lib/Passes/CMakeLists.txt
mlir/lib/Dialect/SPIRV/CMakeLists.txt