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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/tools/dsymutil/DwarfLinker.cpp | ||
---|---|---|
4303–4304 | There will never be more than 2 threads running from that pool, right? Why not leave a hardcoded '2' here? |
There will never be more than 2 threads running from that pool, right? Why not leave a hardcoded '2' here?