[SR-10116] Driver does not handle single-file -c -o
correctly when doing multiple frontend invocations
#52518
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
legacy driver
Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project
Additional Detail from JIRA
md5: 51960b168e9e03fd58eea634ef3c3565
relates to:
Issue Description:
If you specify a single-file compilation job that requires multiple frontend invocations, such as
swiftc -emit-module-path foo.swiftmodule -c -o foo.o foo.swift
to simultaneously emit a module and an object output, then the driver ignores the-o
flag. Passing-force-single-frontend-invocation
works around this.The text was updated successfully, but these errors were encountered: