Skip to content

Commit d3c40c0

Browse files
committed
[Docs] Document mangling for the init accessor thunk
1 parent 95cf42b commit d3c40c0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/ABI/Mangling.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ Entities
368368
entity-spec ::= entity 'fa' // runtime discoverable attribute generator
369369
entity-spec ::= 'fi' // non-local variable initializer
370370
entity-spec ::= 'fP' // property wrapper backing initializer
371+
entity-spec ::= 'fF' // property wrapped field init accessor
371372
entity-spec ::= 'fW' // property wrapper init from projected value
372373
entity-spec ::= 'fD' // deallocating destructor; untyped
373374
entity-spec ::= 'fZ' // isolated deallocating destructor; untyped

test/Demangle/Inputs/manglings.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ $s18resilient_protocol24ResilientDerivedProtocolPxAA0c4BaseE0Tn --> associated c
377377
$s3red4testyAA3ResOyxSayq_GAEs5ErrorAAq_sAFHD1__HCg_GADyxq_GsAFR_r0_lF ---> red.test<A, B where B: Swift.Error>(red.Res<A, B>) -> red.Res<A, [B]>
378378
$s3red4testyAA7OurTypeOy4them05TheirD0Vy5AssocQzGAjE0F8ProtocolAAxAA0c7DerivedH0HD1_AA0c4BaseH0HI1_AieKHA2__HCg_GxmAaLRzlF ---> red.test<A where A: red.OurDerivedProtocol>(A.Type) -> red.OurType<them.TheirType<A.Assoc>>
379379
$s17property_wrappers10WithTuplesV9fractionsSd_S2dtvpfP ---> property wrapper backing initializer of property_wrappers.WithTuples.fractions : (Swift.Double, Swift.Double, Swift.Double)
380+
$s16property_wrapper8MyStructV1xSivpfF ---> property wrapped field init accessor of property_wrapper.MyStruct.x : Swift.Int
380381
$sSo17OS_dispatch_queueC4sync7executeyyyXE_tFTOTA ---> {T:$sSo17OS_dispatch_queueC4sync7executeyyyXE_tFTO} partial apply forwarder for @nonobjc __C.OS_dispatch_queue.sync(execute: () -> ()) -> ()
381382
$s4main1gyySiXCvp ---> main.g : @convention(c) (Swift.Int) -> ()
382383
$s4main1gyySiXBvp ---> main.g : @convention(block) (Swift.Int) -> ()

0 commit comments

Comments
 (0)