[PATCH] D71887: fixes musl default stack size to small.

Yonggang Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 26 01:27:37 PST 2019


lygstate created this revision.
lygstate added a reviewer: chandlerc.
lygstate added projects: LLVM, lld.
Herald added subscribers: llvm-commits, mgorny.

I have no idea where is the proper place to add this flag.
So submit this patch for suggestion.

Fixes https://github.com/llvm/llvm-project/issues/75


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71887

Files:
  llvm/CMakeLists.txt


Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -1100 +1100,3 @@
 endif()
+
+target_link_options(lld PRIVATE -Wl,-z,stack-size=2097152)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71887.235325.patch
Type: text/x-patch
Size: 234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191226/43c62b60/attachment.bin>


More information about the llvm-commits mailing list