swift
3517db4c - [SourceKit] Pass 'swiftc' path to Driver when creating frontend args

Commit
3 years ago
[SourceKit] Pass 'swiftc' path to Driver when creating frontend args Driver uses its path to derive the plugin paths (i.e. 'lib/swift/host/plugins' et al.) Previously it was a constant string 'swiftc' that caused SourceKit failed to find dylib plugins in the toolchain. Since 'SwiftLangSupport' knows the swift-frontend path, use it, but replacing the filename with 'swiftc', to derive the plugin paths. rdar://107849796
Author
Committer
Parents
Loading