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
Copy file name to clipboardExpand all lines: Sources/SwiftOptions/Options.swift
+9-1
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ extension Option {
44
44
publicstaticletBF:Option=Option("-BF",.joinedOrSeparate, attributes:[.noDriver,.argumentIsPath], helpText:"add a directory to the baseline framework search path")
publicstaticletBI:Option=Option("-BI",.joinedOrSeparate, attributes:[.noDriver,.argumentIsPath], helpText:"add a module for baseline input")
47
+
publicstaticletblockListFile:Option=Option("-blocklist-file",.separate, attributes:[.frontend,.noDriver], metaVar:"<path>", helpText:"The path to a blocklist configuration file")
47
48
publicstaticletbreakageAllowlistPath:Option=Option("-breakage-allowlist-path",.joinedOrSeparate, attributes:[.noDriver,.argumentIsPath], helpText:"An allowlist of breakages to not complain about")
48
49
publicstaticletbridgingHeaderDirectoryForPrint:Option=Option("-bridging-header-directory-for-print",.separate, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"<path>", helpText:"Directory for bridging header to be printed in compatibility header")
49
50
publicstaticletbsdk:Option=Option("-bsdk",.joinedOrSeparate, attributes:[.noDriver,.argumentIsPath], helpText:"path to the baseline SDK to import frameworks")
publicstaticletcrosscheckUnqualifiedLookup:Option=Option("-crosscheck-unqualified-lookup",.flag, attributes:[.frontend,.noDriver], helpText:"Compare legacy DeclContext- to ASTScope-based unqualified name lookup (for debugging)")
74
75
publicstaticletcxxInteropGettersSettersAsProperties:Option=Option("-cxx-interop-getters-setters-as-properties",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Import getters and setters as computed properties in Swift")
75
-
publicstaticletcxxInteroperabilityMode:Option=Option("-cxx-interoperability-mode=",.joined, attributes:[.frontend,.moduleInterface], helpText:"Enables C++ interoperability; requires compatbility version to be specified.")
76
+
publicstaticletcxxInteroperabilityMode:Option=Option("-cxx-interoperability-mode=",.joined, attributes:[.frontend,.moduleInterface], helpText:"Enables C++ interoperability; pass 'default' to enable or 'off' to disable")
publicstaticletdebugAssertAfterParse:Option=Option("-debug-assert-after-parse",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Force an assertion failure after parsing", group:.debugCrash)
78
79
publicstaticletdebugAssertImmediately:Option=Option("-debug-assert-immediately",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Force an assertion failure immediately", group:.debugCrash)
@@ -136,6 +137,7 @@ extension Option {
136
137
publicstaticletdisableConformanceAvailabilityErrors:Option=Option("-disable-conformance-availability-errors",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Diagnose conformance availability violations as warnings")
137
138
publicstaticletdisableConstraintSolverPerformanceHacks:Option=Option("-disable-constraint-solver-performance-hacks",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable all the hacks in the constraint solver")
138
139
publicstaticletdisableCrossImportOverlays:Option=Option("-disable-cross-import-overlays",.flag, attributes:[.frontend,.noDriver], helpText:"Do not automatically import declared cross-import overlays.")
140
+
publicstaticletcxxInteropDisableRequirementAtImport:Option=Option("-disable-cxx-interop-requirement-at-import",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Do not require C++ interoperability to be enabled when importing a Swift module that enables C++ interoperability")
139
141
publicstaticletdisableDebuggerShadowCopies:Option=Option("-disable-debugger-shadow-copies",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Disable debugger shadow copies of local variables.This option is only useful for testing the compiler.")
140
142
publicstaticletdisableDeserializationRecovery:Option=Option("-disable-deserialization-recovery",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Don't attempt to recover from missing xrefs (etc) in swiftmodules")
141
143
publicstaticletdisableDeserializationSafety:Option=Option("-disable-deserialization-safety",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Don't avoid reading potentially unsafe decls in swiftmodules")
publicstaticletenableOssaCompleteLifetimes:Option=Option("-enable-ossa-complete-lifetimes",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Require linear OSSA lifetimes after SILGen")
386
388
publicstaticletenableOssaModules:Option=Option("-enable-ossa-modules",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Always serialize SIL in ossa form. If this flag is not passed in, when optimizing ownership will be lowered before serializing SIL")
389
+
publicstaticletenablePackMetadataStackPromotion:Option=Option("-enable-pack-metadata-stack-promotion=",.joined, attributes:[.helpHidden,.frontend,.noDriver], metaVar:"true|false", helpText:"Whether to skip heapifying stack metadata packs when possible.")
390
+
publicstaticletenablePackMetadataStackPromotionNoArg:Option=Option("-enable-pack-metadata-stack-promotion",.flag, attributes:[.helpHidden,.frontend,.noDriver], helpText:"Skip heapifying stack metadata packs when possible.")
387
391
publicstaticletenablePrivateImports:Option=Option("-enable-private-imports",.flag, attributes:[.helpHidden,.frontend,.noInteractive], helpText:"Allows this module's internal and private API to be accessed")
0 commit comments