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
- Repository
- rL LLVM
Event Timeline
llvm/tools/dsymutil/DwarfLinker.cpp | ||
---|---|---|
4304 ↗ | (On Diff #140647) | There will never be more than 2 threads running from that pool, right? Why not leave a hardcoded '2' here? |