Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Medium
-
Resolution: Done
-
Component/s: Compiler
-
Labels:
Description
Certain commands to swiftc, like -emit-sil and (when on its own) -emit-module, don't actually emit any object files. In these cases, trying to use -embed-bitcode results in the driver getting very confused and trying to run a backend job to generate a module. We should instead ignore -embed-bitcode when no object files are being generated.