mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #60139 from artemcm/AddConstValueExtractionPathHandling
Add supplementary output path handling for extracted compile-time-known values
This commit is contained in:
@@ -698,6 +698,7 @@ const char *ToolChain::JobContext::computeFrontendModeForCompile() const {
|
||||
case file_types::TY_SwiftOverlayFile:
|
||||
case file_types::TY_IndexUnitOutputPath:
|
||||
case file_types::TY_SwiftABIDescriptor:
|
||||
case file_types::TY_ConstValues:
|
||||
llvm_unreachable("Output type can never be primary output.");
|
||||
case file_types::TY_INVALID:
|
||||
llvm_unreachable("Invalid type ID");
|
||||
@@ -958,6 +959,7 @@ ToolChain::constructInvocation(const BackendJobAction &job,
|
||||
case file_types::TY_SwiftOverlayFile:
|
||||
case file_types::TY_IndexUnitOutputPath:
|
||||
case file_types::TY_SwiftABIDescriptor:
|
||||
case file_types::TY_ConstValues:
|
||||
llvm_unreachable("Output type can never be primary output.");
|
||||
case file_types::TY_INVALID:
|
||||
llvm_unreachable("Invalid type ID");
|
||||
|
||||
Reference in New Issue
Block a user