mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The issue with recursion here is that if there are enough modules involved, this function will blow the process stack, particularly in the case where the `FileUnit`s are not `SourceFile`s, since in that instance a `SmallVector` gets allocated on the stack for each level of the recursion. rdar://130527640
141 KiB
141 KiB