[PATCH] D45172: [dsymutil] Apply recursion workaround for threading

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 2 10:39:41 PDT 2018


JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, davide.
JDevlieghere added a subscriber: friss.

The DwarfLinker can have some very deep recursion that can max out the
(significantly smaller) stack when using threads. We don't want this
limitation when we only have a single thread. We already have this
workaround for the architecture-related threading. This patch applies
the same workaround to the parallel analysis and cloning.


Repository:
  rL LLVM

https://reviews.llvm.org/D45172

Files:
  llvm/tools/dsymutil/DwarfLinker.cpp
  llvm/tools/dsymutil/dsymutil.cpp
  llvm/tools/dsymutil/dsymutil.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45172.140647.patch
Type: text/x-patch
Size: 3294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180402/aefb726a/attachment.bin>


More information about the llvm-commits mailing list