@@ -514,13 +514,17 @@ Types
514
514
515
515
type ::= 'Bb' // Builtin.BridgeObject
516
516
type ::= 'BB' // Builtin.UnsafeValueBuffer
517
- type ::= 'Bc' // Builtin.RawUnsafeContinuation
518
- type ::= 'BD' // Builtin.DefaultActorStorage
519
- type ::= 'Be' // Builtin.Executor
517
+ #if SWIFT_RUNTIME_VERSION >= 5.5
518
+ type ::= 'Bc' // Builtin.RawUnsafeContinuation
519
+ type ::= 'BD' // Builtin.DefaultActorStorage
520
+ type ::= 'Be' // Builtin.Executor
521
+ #endif
520
522
type ::= 'Bf' NATURAL '_' // Builtin.Float<n>
521
523
type ::= 'Bi' NATURAL '_' // Builtin.Int<n>
522
524
type ::= 'BI' // Builtin.IntLiteral
523
- type ::= 'Bj' // Builtin.Job
525
+ #if SWIFT_RUNTIME_VERSION >= 5.5
526
+ type ::= 'Bj' // Builtin.Job
527
+ #endif
524
528
type ::= 'BO' // Builtin.UnknownObject (no longer a distinct type, but still used for AnyObject)
525
529
type ::= 'Bo' // Builtin.NativeObject
526
530
type ::= 'Bp' // Builtin.RawPointer
@@ -570,8 +574,10 @@ Types
570
574
// they are mangled separately as part of the entity.
571
575
params-type ::= empty-list // shortcut for no parameters
572
576
573
- async ::= 'Ya' // 'async' annotation on function types
574
- sendable ::= 'Yb' // @Sendable on function types
577
+ #if SWIFT_RUNTIME_VERSION >= 5.5
578
+ async ::= 'Ya' // 'async' annotation on function types
579
+ sendable ::= 'Yb' // @Sendable on function types
580
+ #endif
575
581
throws ::= 'K' // 'throws' annotation on function types
576
582
differentiable ::= 'Yjf' // @differentiable(_forward) on function type
577
583
differentiable ::= 'Yjr' // @differentiable(reverse) on function type
@@ -666,8 +672,10 @@ mangled in to disambiguate.
666
672
COROUTINE-KIND ::= 'A' // yield-once coroutine
667
673
COROUTINE-KIND ::= 'G' // yield-many coroutine
668
674
669
- SENDABLE ::= 'h' // @Sendable
670
- ASYNC ::= 'H' // @async
675
+ #if SWIFT_RUNTIME_VERSION >= 5.5
676
+ SENDABLE ::= 'h' // @Sendable
677
+ ASYNC ::= 'H' // @async
678
+ #endif
671
679
672
680
PARAM-CONVENTION ::= 'i' // indirect in
673
681
PARAM-CONVENTION ::= 'c' // indirect in constant
0 commit comments