[PATCH] D148132: [compiler-rt] [test] Pass the mingw specific option for increasing stack size

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 02:06:28 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6d7d0ed4a991: [compiler-rt] [test] Pass the mingw specific option for increasing stack size (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148132/new/

https://reviews.llvm.org/D148132

Files:
  compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt


Index: compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
===================================================================
--- compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
+++ compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
@@ -113,6 +113,8 @@
 # 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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148132.513111.patch
Type: text/x-patch
Size: 515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230413/2188103a/attachment.bin>


More information about the llvm-commits mailing list