You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds support for '-explain-dependency <MODULE_NAME>', which causes the driver to run a dependency scan, and find all dependency paths that cause the main module to depend, directly or transitively, on a given module dependency.
publicstaticletaccessNotesPath:Option=Option("-access-notes-path",.separate, attributes:[.frontend,.argumentIsPath], helpText:"Specify YAML file to override attributes on Swift declarations in this module")
22
22
publicstaticletaliasModuleNamesInModuleInterface:Option=Option("-alias-module-names-in-module-interface",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"When emitting a module interface, disambiguate modules using distinct alias names")
23
+
publicstaticletallowUnstableCacheKeyForTesting:Option=Option("-allow-unstable-cache-key-for-testing",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Allow compilation caching with unstable inputs for testing purpose")
23
24
publicstaticletallowableClient:Option=Option("-allowable-client",.separate, attributes:[.frontend], metaVar:"<vers>", helpText:"Module names that are allowed to import this module")
24
25
publicstaticletanalyzeRequirementMachine:Option=Option("-analyze-requirement-machine",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Print out requirement machine statistics at the end of the compilation job")
25
26
publicstaticletapiDiffDataDir:Option=Option("-api-diff-data-dir",.separate, attributes:[.frontend,.noInteractive,.doesNotAffectIncrementalBuild,.argumentIsPath], metaVar:"<path>", helpText:"Load platform and version specific API migration data files from <path>. Ignored if -api-diff-data-file is specified.")
@@ -329,6 +330,7 @@ extension Option {
329
330
publicstaticletenableBatchMode:Option=Option("-enable-batch-mode",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Enable combining frontend jobs into batches")
330
331
publicstaticletenableBridgingPch:Option=Option("-enable-bridging-pch",.flag, attributes:[.helpHidden], helpText:"Enable automatic generation of bridging PCH files")
331
332
publicstaticletenableBuiltinModule:Option=Option("-enable-builtin-module",.flag, attributes:[.frontend,.moduleInterface], helpText:"Enables the explicit import of the Builtin module")
333
+
publicstaticletenableCas:Option=Option("-enable-cas",.flag, attributes:[.frontend,.noDriver], helpText:"Enable CAS for swift-frontend")
publicstaticletenableColocateTypeDescriptors:Option=Option("-enable-colocate-type-descriptors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable colocate type descriptors")
334
336
publicstaticletenableConformanceAvailabilityErrors:Option=Option("-enable-conformance-availability-errors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnose conformance availability violations as errors")
@@ -418,13 +420,14 @@ extension Option {
418
420
publicstaticletdriverExperimentalExplicitModuleBuild:Option=Option("-experimental-explicit-module-build",.flag, alias:Option.driverExplicitModuleBuild, attributes:[.helpHidden], helpText:"Prebuild module dependencies to make them explicit")
419
421
publicstaticletexperimentalHermeticSealAtLink:Option=Option("-experimental-hermetic-seal-at-link",.flag, attributes:[.helpHidden,.frontend], helpText:"Library code can assume that all clients are visible at linktime, and aggressively strip unused code")
420
422
publicstaticletexperimentalOneWayClosureParams:Option=Option("-experimental-one-way-closure-params",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable experimental support for one-way closure parameters")
publicstaticletExperimentalPerformanceAnnotations:Option=Option("-experimental-performance-annotations",.flag, attributes:[.helpHidden,.frontend], helpText:"Deprecated, has no effect")
422
424
publicstaticletexperimentalPrintFullConvention:Option=Option("-experimental-print-full-convention",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"When emitting a module interface or SIL, emit additional @convention arguments, regardless of whether they were written in the source. Also requires -use-clang-function-types to be enabled.")
423
425
publicstaticletexperimentalSkipAllFunctionBodies:Option=Option("-experimental-skip-all-function-bodies",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Skip type-checking function bodies and all SIL generation")
424
426
publicstaticletexperimentalSkipNonInlinableFunctionBodiesWithoutTypes:Option=Option("-experimental-skip-non-inlinable-function-bodies-without-types",.flag, attributes:[.helpHidden,.frontend], helpText:"Skip work on non-inlinable function bodies that do not declare nested types")
425
427
publicstaticletexperimentalSkipNonInlinableFunctionBodies:Option=Option("-experimental-skip-non-inlinable-function-bodies",.flag, attributes:[.helpHidden,.frontend], helpText:"Skip type-checking and SIL generation for non-inlinable function bodies")
426
428
publicstaticletexperimentalSpiImports:Option=Option("-experimental-spi-imports",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable experimental support for SPI imports")
427
429
publicstaticletexperimentalSpiOnlyImports:Option=Option("-experimental-spi-only-imports",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Enable use of @_spiOnly imports")
430
+
publicstaticletexplainModuleDependency:Option=Option("-explain-module-dependency",.separate, attributes:[], helpText:"Emit remark/notes describing why compilaiton may depend on a module with a given name.")
428
431
publicstaticletexplicitDependencyGraphFormat:Option=Option("-explicit-dependency-graph-format=",.joined, attributes:[.helpHidden,.doesNotAffectIncrementalBuild], helpText:"Specify the explicit dependency graph output format to either 'json' or 'dot'")
429
432
publicstaticletexplicitInterfaceModuleBuild:Option=Option("-explicit-interface-module-build",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Use the specified command-line to build the module from interface, instead of flags specified in the interface")
430
433
publicstaticletdriverExplicitModuleBuild:Option=Option("-explicit-module-build",.flag, attributes:[.helpHidden], helpText:"Prebuild module dependencies to make them explicit")
0 commit comments