mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[swift-update] Treat 'swift-update' as a symlink to the driver, instead of a separate executable.
This avoids having another copy of the frontend in the toolchain. Swift SVN r24320
This commit is contained in:
@@ -46,7 +46,7 @@ swift::driver::createCompilerInvocation(ArrayRef<const char *> ArgList,
|
||||
Args.push_back("-force-single-frontend-invocation");
|
||||
|
||||
// Force the driver into batch mode by specifying "swiftc" as the name.
|
||||
Driver TheDriver("swiftc", "swiftc", Diags);
|
||||
Driver TheDriver("swiftc", "swiftc", Args, Diags);
|
||||
|
||||
// Don't check for the existence of input files, since the user of the
|
||||
// CompilerInvocation may wish to remap inputs to source buffers.
|
||||
|
||||
Reference in New Issue
Block a user