mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Cursor info requires access to the underlying AST, which is not thread-safe. This manifest as crashes when performing concurrent cursor-info requests on the same generated interface. We already prevented concurrent cursor-infos on regular Swift files by using the ASTManager, but generated interfaces use the InterfaceGenContext which may use either an ASTUnit or its own internal CompilerInstance. rdar://problem/27311624
28 KiB
28 KiB