mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add -verify-all-substitution-maps frontend flag
This commit is contained in:
@@ -322,6 +322,9 @@ namespace swift {
|
||||
/// `@differentiable` declaration attribute, etc.
|
||||
bool EnableExperimentalDifferentiableProgramming = false;
|
||||
|
||||
/// Enable verification when every SubstitutionMap is constructed.
|
||||
bool VerifyAllSubstitutionMaps = false;
|
||||
|
||||
/// Sets the target we are building for and updates platform conditions
|
||||
/// to match.
|
||||
///
|
||||
@@ -512,6 +515,7 @@ namespace swift {
|
||||
/// Enable constraint solver support for experimental
|
||||
/// operator protocol designator feature.
|
||||
bool SolverEnableOperatorDesignatedTypes = false;
|
||||
|
||||
};
|
||||
} // end namespace swift
|
||||
|
||||
|
||||
@@ -548,6 +548,9 @@ def sil_merge_partial_modules : Flag<["-"], "sil-merge-partial-modules">,
|
||||
|
||||
def sil_verify_all : Flag<["-"], "sil-verify-all">,
|
||||
HelpText<"Verify SIL after each transform">;
|
||||
|
||||
def verify_all_substitution_maps : Flag<["-"], "verify-all-substitution-maps">,
|
||||
HelpText<"Verify all SubstitutionMaps on construction">;
|
||||
|
||||
def sil_debug_serialization : Flag<["-"], "sil-debug-serialization">,
|
||||
HelpText<"Do not eliminate functions in Mandatory Inlining/SILCombine dead "
|
||||
|
||||
Reference in New Issue
Block a user