[compiler-rt] 6d7d0ed - [compiler-rt] [test] Pass the mingw specific option for increasing stack size
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 02:06:21 PDT 2023
Author: Martin Storsjö
Date: 2023-04-13T12:03:33+03:00
New Revision: 6d7d0ed4a9918e57be5f9f36269ef3f165e72287
URL: https://github.com/llvm/llvm-project/commit/6d7d0ed4a9918e57be5f9f36269ef3f165e72287
DIFF: https://github.com/llvm/llvm-project/commit/6d7d0ed4a9918e57be5f9f36269ef3f165e72287.diff
LOG: [compiler-rt] [test] Pass the mingw specific option for increasing stack size
This passes the same option that was added for MSVC builds in
fb5a24b4f03a7 in the corresponding mingw form too.
This fixes the BVGraph tests in the sanitizer unit tests.
Differential Revision: https://reviews.llvm.org/D148132
Added:
Modified:
compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt b/compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
index 2ff6d46ee10ee..22bad618a8ff3 100644
--- a/compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
+++ b/compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
@@ -113,6 +113,8 @@ endif()
# The default stack size for clang is 8M.
if(MSVC)
list(APPEND SANITIZER_TEST_LINK_FLAGS_COMMON -Wl,/STACK:0xC00000)
+elseif (MINGW)
+ list(APPEND SANITIZER_TEST_LINK_FLAGS_COMMON -Wl,--stack=0xC00000)
endif()
set(SANITIZER_TEST_LINK_LIBS)
More information about the llvm-commits
mailing list