Repository navigation
Conversation
0.18.0 was written for the ABI-layer split but never tagged; the split ships in 0.19.0 alongside the executor speedup and the vtable attribution fix, so a separate note would describe a release that does not exist. Rewrite 0.19.0 on top of 0.17.1 for the reader upgrading across both: what's new, fixes, and the source-level migration list in one place, with the measurements trimmed to the numbers a user acts on. Proposal 0018 and the evolution log now name 0.19.0 as the version the breaking changes landed in.
`--sections` is a space-separated variadic option that swallows every argument up to the next option, so the old `--sections types,protocols /path/to/binary` handed the path to `--sections` as a section name and spelled the list with commas the parser does not accept.
The impact table only had an "after" column, which could not answer the question the landed change raised on review: was every slot guessed before? Lay the seven slot categories out side by side — where the old implementation-address route happened to be right, where it guessed silently, where it had nothing to go on — and record the two behavior changes that live outside the table plus the two routes left untouched.
…resolve ObjC-protocol and extension references by fixed ABI shape (proposals 0021, 0022) Proposal 0021 (metadata-reader-deterministic-node-extraction): the `.objectiveCProtocol` and `.extension` resolver branches now read the node the compiler wrote at a fixed position — the ObjC protocol reference record's second field is `So9NSCopying_p`, four levels deep (IRGen `getObjCProtocolRefSymRefDescriptor`); an extension's `ExtendedContext` is `getSelfInterfaceType()`, a bare nominal or a bound generic whose base the runtime's `Demangle.cpp` unwraps the same way — instead of a depth-first search for the first plausible node. The `typeSymbol` / `typeNonWrapperSymbol` / `extensionSymbol` / `nodes(for:)` helpers are gone; a shape that does not match returns nil. Output on existing samples is byte-identical, and the previously uncovered `\x0C` ObjC-protocol symbolic reference gets an on-the-fly fixture compiled for macOS 15. Proposal 0022 (rename-metadata-reader-to-symbolic-demangler): the namespace demangles mangled names whose symbolic references resolve against the image and builds demanglings for context descriptors and generic requirement lists — the runtime's `ResolveAsSymbolicReference` + `_swift_buildDemanglingForContext` pair. It never reads a `Metadata` record; the old name was borrowed from `swift/Remote/MetadataReader.h`, whose main business is that other direction. A deprecated `MetadataReader` typealias keeps the old spelling for one release. Proposal files, task reports, the evolution log, the glossary and AGENTS.md land in the same commit; numbers 0021 and 0022 are assigned here.
…way the compiler mangles them (proposal 0023)
A C-imported type context descriptor carries import info after its name
(`swift/ABI/TypeIdentity.h`): `N` the ABI name, `S` the symbol namespace (`t`
for a C typedef promoted to a nominal type), `R` a related-entity tag. The
reader only looked at the `hasImportInfo` flag, so descriptor-derived trees
disagreed with the symbols' spelling. `TypeImportInfo` and
`TypeContextDescriptorProtocol.typeImportInfo(in:)` read the components, and
`SymbolicDemangler` applies the runtime's rules from
`_swift_buildDemanglingForContext` (which the remote reader's port lags for
tag enums without import info): ABI name overrides the user-facing name
(`__C._NSRange`, `__C.NSDecimal`, `__C.CGColorRef`), a promoted C typedef is a
`typeAlias`, a C tag enum is a `structure` with or without import info
(`NSTextAlignment` mangles `So15NSTextAlignmentV`), and a related entity wraps
its name in `relatedEntityDeclName`. Expected manglings in the tests are the
compiler's own `_mangledTypeName` output for the same declarations.
SwiftLayout accepts `typeAlias` nodes and decides by the descriptor (builtin
record first; a CF class is one pointer), indexes them like any nominal, and
keys related entities by their printed name rather than the shared tag `e`.
`TypeName` / `ExtensionName` now compare by node structure only: `kind` is
derived per producer (the descriptor's kind vs. a walk over the demangled
tree, which answers the enclosing type's kind for a nested type), and the
disagreement kept a conformance from joining its `__swift5_assocty` record
and witness symbols. That was also the cause of proposal 0007's "cosmetic
residual": the trailing bare `extension X { typealias … }` blocks now fold
into their conformance blocks — 175 lines in the fixture interface snapshot.
Measured on the current system's SwiftUI and Foundation: every changed dump
line is a `__C` name spelled the compiler's way, 29 + 134 protocol witnesses
that printed as `sub_` placeholders now carry names, RawRepresentable blocks
with both witness and members go 76 → 115 (SwiftUI) and 122 → 140
(Foundation), and no degradation marker count changes.
…finitions "Is this declaration in the image's export trie" was a fact only the printer could see: proposals 0008 (annotation) and 0016 (filtering) built the verdict inside SwiftDeclarationPrinter+ExportFilter, so a host wanting to mark up a type list had to reimplement it, and the printer itself ruled twice — once per definition in installExportFilterScope, once more when printing it. Move the fact onto the model. TypeDefinition.exportStatus and ProtocolDefinition.exportStatus are resolved once at construction from the declaration's own descriptor symbol and stored as a `let`, so the whole table has values the moment prepare() returns — the verdict needs only the descriptor offset and the name node, never index(in:)'s products, which is exactly what a list UI needs. Four cases, not Bool?, because the two "no verdict" outcomes differ in scope: imageHasNoExportInformation is image-level (no export trie at all — reading it as "not exported" would report every declaration of a .o file as unexported), descriptorSymbolNameUnresolvable is declaration-level (the trie is fine, this one name cannot be trusted to remangle — the constrained-extension shape publicTypeNestedInConstrainedExtensionIsKept pins). isExported: Bool? and isDefinitelyNotExported project it for callers written against the old shape. Filling it is unconditional because measurement says it is free: over SwiftUICore (dyld shared cache and iOS 18.5 simulator runtime), in-process libswiftCore and the SymbolTestsCore fixture, all 8171 type and protocol declarations resolved through leg 1 — a symbol AT the descriptor — so the remangling leg never ran and neither no-verdict case occurred, at under 0.15% of prepare() (3992 types in 28 ms against 18.16 s). A default-off switch would only mean the host has to remember to turn it on. The printer's two public exportVerdict(...) keep their Bool? signature and forward; installExportFilterScope filters on isDefinitelyNotExported, so printRoot()'s whole-image re-ruling is gone. Member, field and extension verdicts are untouched — different evidence (derived symbols, target ownership). A specialized definition inherits its generic definition's value: same descriptor, same fact. The status is deliberately not part of ABISnapshot; export-ness is a symbolication state, not an ABI fact. One behavior change, documented on the properties: resolving queries the symbol index, and SymbolIndexStore.storage(in:) is get-or-build, so constructing a definition outside the indexer builds that index. Through prepare() the index is already up before definitions are constructed.
…ImportInfo `PrimitiveTypeMapping` walked the `__swift5_builtin` records of `__C` types and read the string after each descriptor's name, keeping it as the type's "primitive" spelling when it started with `N` — a hand-rolled reading of the ABI-name component of `TypeImportInfo`, limited to C value types with a builtin record and to direct references. Its two callers compared a descriptor-derived type name against a witness symbol's and consulted the table only when they differed; since proposal 0023 descriptor-derived names already carry the ABI spelling, so the fallback branch is unreachable. The cache, the integration test and the `PrintFailureEventTests` baseline-debt entry for its `print`-based `dump()` go with it.
Carry an ExportStatus on TypeDefinition / ProtocolDefinition (proposal 0024), numbered at landing per the evolutions numbering rule. Three conflicts, all against the three proposals `next` landed in the meantime (0021 / 0022 / 0023): - `ProtocolDefinition.init(protocol:in:)` — the branch adds the `exportStatus` resolution on the same lines proposal 0022 renamed `MetadataReader` to `SymbolicDemangler`. Resolved by keeping the new name and the new field; no `MetadataReader` call site survives anywhere in Sources or Tests (only the deprecated typealias and its own doc comment). - Both documentation indexes — the branch's base predates the 0021–0023 rows, so their side of the table and the updated Glossary description are kept and the proposal's row is appended. The proposal takes 0024 (global maximum across every shared branch is 0023; the other in-flight branch is still an unnumbered draft), moves to `Implemented`, and the file is renamed accordingly. Its two remaining references — the evolution log section title and the task report's header link — follow. Verification: `swift build` clean; the full suite (`--skip IntegrationTests`) is 1683 tests, 2 failures, both the known wall-clock flake in `SharedCache.resolve under Swift Concurrency` (`differentKeysParallelViaTaskGroup` / `differentKeysParallelViaAsyncLet` assert a parallelism budget that a fully loaded run cannot meet) — both pass in isolation. The 29 export-related tests, including the branch's new `ExportStatusTests` and `SpecializedExportStatusTests`, pass.
swift_getInitializedObjCClass imports as an implicitly-unwrapped optional. The runtime hands back the very class it was given once realized, so pin the type at the binding rather than leaving the optionality to inference at the unsafeBitCast below.
…iptors (proposal 0025) Every `…vpMV` symbol points at a constant the library could not read. It is not a struct in the compiler either: its content is one serialized key path component, a 4-byte header plus a body whose length the header decides. That is the resilience indirection behind cross-module key paths — a client emitting \Point.x cannot know whether x is stored (at which offset) or computed (through which getter), so its pattern only points here and the runtime copies the current content in. The header models the FULL key path encoding rather than just what a descriptor can carry (the external / optional kinds, computed arguments, the reference-prefix flag, and a second body length), so parsing key path patterns later needs no change to a published API. `kind` is optional because the discriminator is 7 bits wide while only 0-4 are defined, and the input is arbitrary binary content. Property descriptors sit in no __swift5_* section, so the only entry is resolve(from:in:) with an offset the caller obtained. Attributing a symbol to one needs the symbol index and therefore belongs in SwiftInspection, exactly as MethodDescriptor.implementationOffset does (proposal 0018).
…hapes The fixture is built for distribution, so it carries all four forms a property descriptor can take: the module's shared trivial one, a struct stored property whose offset is inline in the header, a generic struct's whose offset only lives in the metadata, and a resilient class's settable computed property. One picker per form, 43 tests across both readers plus the ReadingContext leg. Looking one up by symbol has two traps, both pinned in the picker's comments. The symbol table spells the name with a leading underscore. And a Release build carries same-named stab debug entries whose n_value is zero — matching one silently reads the Mach-O header instead of the descriptor, which is how the first generated baseline came out with 0xfeedfacf for all four headers. The pattern-only encodings (external / optional components and the reference-prefix flag) have no possible fixture carrier, so they are pinned through synthesized header words rather than left uncovered.
Proposal, status table, evolution-log section, task report and the architecture note in AGENTS.md. The task report keeps two findings the code cannot carry. What the symbol proves: the gate is the getter's SIL linkage, so a descriptor is emitted for package and @usableFromInline internal members too — its presence means "on the ABI boundary", not public, and its absence proves nothing (ABI-compatible overrides, protocol requirements, global vars and noncopyable types never get one). And what the CONTENT proves: a module built without library evolution has every descriptor trivial and aliased to one address, so a struct- or class-tagged descriptor is hard evidence the module was built with it — a check that complements the dispatch-thunk one, which sees nothing in a struct-only module.
Records the accepted scope: async / coro function pointer records, capture descriptors (__swift5_capture), the generic metadata pattern family, accessible function records (__swift5_acfuncs), and function type metadata's trailing objects. Same boundary as proposal 0025 — model the structures and cover them with fixtures, wire nothing. Dereferencing implementationOffset through an async record, and teaching SwiftLayout to read a pattern's value witness table, are separate proposals: both change existing output and would force every ABI literal baseline to be regenerated. Also registers proposal 0025 in the top-level documentation index, which the batch that landed it missed.
An async function is not called through its own address: the caller must size the async context frame before entering, and that size is not recoverable from the entry point. So the compiler emits a two-word record next to the function and hands out ITS address wherever a normal function's would go. Callee-allocated (yield_once_2) coroutines get the same treatment, with a 16-byte record carrying the frame size. The substitution is why this matters to a reader of Mach-O metadata: method descriptors, vtable slots, resilient witnesses and protocol requirements' default implementations all store the record's address when the implementation is async or such a coroutine (GenMeta.cpp branches on isAsync() / isCalleeAllocatedCoroutine()), so implementationOffset lands one hop short of the machine code. functionOffset is that last hop; the frame size comes along with it. AsyncFunctionPointer mirrors swift::AsyncFunctionPointer (ABI/Executor.h). CoroFunctionPointer has no counterpart in include/swift/ABI at all — like a property descriptor it exists only in IRGen, as the packed anonymous struct swift.coro_func_pointer. Verified against real bytes: the record of a _read accessor resolves to a relative pointer landing in __text, a 48-byte frame and a malloc type id. Neither record sits in a __swift5_* section, so there is no section entry: resolve(from:in:) with an offset the caller already has, exactly like PropertyDescriptor. Proposal: draft-missing-abi-structures (stage 1 of 5).
The async side takes three carriers from SymbolTestsCore, picked by `…Tu` symbol: a top-level async function, an async class method a vtable slot points at, and a distributed thunk. The three are not interchangeable — the thunk's async context is 208 bytes against the plain function's 16, so the fixture keeps proving that the recorded size is read rather than assumed. One test closes the loop the model exists for: exactly one of VTableBaseTest's vtable slots carries the record's address as its implementationOffset, and the record's functionOffset is a different address. The coro side compiles its own fixture. A `…Twc` record only exists for a yield_once_2 coroutine, which needs the CoroutineAccessors feature, and SymbolTestsCore is not built with it — nor can it be: turning the flag on would move every implementation offset the checked-in ABI baselines pin, the same accident AGENTS.md already records for CODE_SIGNING_ALLOWED=NO. So the assertions are structural instead of literal (16 bytes with the tail at offset 8, a function pointer landing in __TEXT,__text and never the record's own address, a word-sized frame), and the compile falls back to no flag should the feature ever graduate and make the flag name unknown. Also lifts the symbol lookup shared by these records and property descriptors into BaselineFixturePicker.offset(forSymbolNamed:in:), so the two traps stay pinned in one place: the symbol table's leading underscore, and the same-named stab entries whose n_value is zero.
…cords The runtime cannot call an arbitrary Swift function from data alone — the calling convention follows the signature. So for functions that must be reachable that way the compiler emits a fully abstracted entry point (everything passed indirectly, one uniform shape) and records it here next to the string key that names it and the mangled Swift type that says what the arguments mean. Distributed actors are the feature using it: a remote call arrives carrying a target identifier string, and swift_findAccessibleFunction turns that string back into something callable. The section is a flat, gapless array of 20-byte records with no header — the runtime slices it by begin + size — so reading it needs a new _readFixedSizeRecords leg alongside the variable-size and relative-pointer ones. A module needing none of this emits no section, and the accessor throws sectionNotFound rather than answering empty, matching every sibling accessor here. Layout mirrors swift::TargetAccessibleFunctionRecord. The generic environment pointer is the only nullable one; the flag word so far defines a single bit, isDistributed.
SymbolTestsCore emits four records, all distributed actor targets. Two are picked semantically rather than positionally: the non-generic remoteMethod, whose generic environment pointer is null, and the one generic target, whose is not — so the nullable pointer is exercised in both states, and a test fails if the fixture ever stops carrying one of each. One assertion is about the section rather than the record: consecutive records sit exactly one layout apart, which is what makes the gapless begin + size slicing sound. Another closes a loop across stages — a distributed target is async, so the record's function pointer does not reach code either; it reaches that function's async function pointer record, which reaches the code. Two hops, both now modelled. AccessibleFunctionFlags joins the pureDataUtility allowlist: a raw bitfield with one defined bit has nothing to test that is not a tautology.
Models/Capture/ has existed as two one-line placeholder files since the repository was young, and nothing read the section — which every Swift binary carries, system frameworks included. This fills both in. A closure that captures anything is a heap object whose contents are otherwise opaque: reflection reaches the object, but nothing in the object says what its words mean. The capture descriptor its heap metadata points at is that missing key — one mangled type per captured value, in context order. The second trailing array answers a different question. A closure inside a generic function needs its type arguments at runtime, and those are not ordinary captures: they arrive as bindings at the head of the context, or must be projected out of a captured value's own metadata. Each MetadataSourceRecord pairs a type with the recipe for recovering it. That recipe is deliberately left unparsed. It is written in a small expression language of its own, unrelated to Swift's type mangling, and reading it is a separate piece of work the proposal scopes out of this batch — so both fields come back as raw MangledName values and the type documentation says which of the two actually demangles. The section is variable-length records walked by size, structurally identical to __swift5_fieldmd, so the existing walk applies unchanged. HeapLocalVariableMetadata.captureDescription is retyped from Pointer<String?> to the descriptor it actually points at.
The three carriers are picked by shape, not by position: a non-generic closure's context, a closure in a one-parameter generic function, and one in a two-parameter generic function — so both trailing arrays are exercised at length zero, one and many, and a test fails if the fixture stops carrying all three. The load-bearing assertion is the section walk. A variable-length record section is read by trusting each descriptor's own size, so a wrong actualSize desyncs every LATER descriptor rather than failing locally; the test therefore walks all 35 and requires each neighbour to sit exactly actualSize apart. MetadataSourceRecordTests pins both mangled payloads as literals, which this library normally avoids. Here they are plain ASCII and they are the point: the two entries say the closure's generic parameters `x` and `q_` are recovered from closure bindings `B0` and `B1` — a grammar that is not Swift type mangling, which is exactly why the library hands it back untouched.
TypeGenericContextDescriptorHeader.defaultInstantiationPattern has always been a bare RelativeOffset pointing somewhere unnamed. It points at a generic type's instantiation pattern: the template the runtime copies and completes to produce metadata for one set of generic arguments. For a value type the pattern carries the value witness table every instantiation gets — which, for a generic type whose layout does not depend on its arguments, is the compiler's own answer for size, stride, alignment and extra inhabitants, computed at build time and never recomputed. For a class it carries the two destructors, the class flags, and where the runtime-built class_ro_t and metaclass land inside the extra data block. Both may trail partial patterns: blocks of words to copy in, counted in WORDS. Bit 31 of the flag word means two different things — an immediate-members pattern on a class, the top bit of the metadata kind on a value — so the accessors are split by which pattern you have, and the trailing count is computed per conformer. ResilientClassMetadataPattern is the same idea for a NON-generic class with a resilient superclass, and is not reached the same way: it hangs off the class's singleton metadata initialization record, in the union field that otherwise holds incomplete metadata. That field is now documented as the union it is, with an accessor per reading and neither pretending it can decide which applies — only the descriptor's hasResilientSuperclass flag can. One structural note: the two shared function-pointer offsets are protocol REQUIREMENTS rather than shared implementations. A key path formed against the layout protocol addresses a witness, not a stored property, and MemoryLayout.offset(of:) answers nil for it — the shared version compiled fine and trapped at runtime. Proposal: draft-missing-abi-structures (stage 4 of 5).
Five suites over three carriers: a generic struct's value pattern, a generic class's class pattern (the only one with a trailing partial pattern), and a resilient-superclass class's pattern. Both generic carriers are reached through the type's generic context header — the route the runtime takes — so the picker itself exercises defaultInstantiationPatternOffset, and the resilient carrier is reached through the singleton record's union field. The assertions that matter are the ones about the overlapping flag bit: the value carrier has bits set in the region a class pattern reads as "immediate members trail", and its trailing count must still be zero. Read the wrong way, that bit walks a trailing array off the end. TypeGenericContextDescriptorHeaderTests gains the two entry-point accessors, and resolves what the pattern offset points at to confirm a struct carrier yields a struct pattern. SingletonMetadataInitializationTests gains the three offset accessors and pins the union property directly: both readings return the same word. GenericMetadataPatternFlags joins the pureDataUtility allowlist — the decoded bits are asserted on real patterns in the two pattern suites, which is worth more than a tautology over a literal.
The model stopped at the three-word header — kind, flags, result type — so everything a function type knows beyond "how many parameters and what it returns" was unreadable: the parameter types themselves, their per-parameter flags, the global actor, the typed-throws error type. The blocks appear in a fixed order, each only when the flags say so, and each on its own alignment — a UInt32 block followed by a pointer-sized one leaves four bytes of padding — so the offsets accumulate rather than sum. One of them cannot be pure arithmetic at all: whether a thrown-error type is present is recorded in the extended flags' VALUE, not in the first flag word, so answering needs a read. The four flag and enum types carry a Function / FunctionType prefix rather than their ABI names. Demangling's TypeDecoder already vends ParameterOwnership, ExtendedFunctionTypeFlags and FunctionMetadataDifferentiabilityKind, and SwiftInspection imports both modules unqualified. Qualifying there would fix this repository only — any downstream file importing both would still be ambiguous. Proposal: missing-abi-structures (stage 5 of 5).
Four live carriers, one per shape that changes the tail: a plain function, a two-parameter one, an `inout` one (the simplest type that forces the compiler to emit the per-parameter flag array at all), and a `@MainActor () throws(E) -> Void` one — the only shape carrying a global actor AND extended flags AND a thrown error, so the padding between the pointer-sized and word-sized blocks is actually crossed. The assertions compare the resolved trailing TYPES against the metadata of the very types the carriers name: Int and String for the parameters, MainActor for the global actor, the fixture error for the thrown type. Pointer identity is what makes this worth having — an offset wrong by one word lands on something else entirely and any weaker check would pass. That is not hypothetical. globalActorType first returned nil for a carrier whose flags plainly said it had one: returning `try context.readElement(...)` straight into an optional return type instantiates the read at Optional<Pointer<…>>, a different in-memory shape, which answers nil in silence. The reads are annotated non-optional and wrapped afterwards. The typed-throws carrier is availability-gated: forming metadata for a typed-throws function type needs runtime support the package's deployment floor predates.
Numbers the proposal at landing (global max across shared branches was 0025), sets it Implemented, and records the three decisions the implementation forced that the proposal did not anticipate: the captureDescription retype, the Function prefix on the four function-type flag types, and the pattern family's shared offsets becoming protocol requirements. The architecture section gains the batch as one bullet per record, each leading with why the record exists rather than what its fields are — an async function's caller must size the context frame before it can start, a closure context is otherwise opaque bytes, a generic type's pattern is where the compiler's own value witness table lives. The task report keeps the four traps: a key path formed against a layout PROTOCOL addresses a witness, so MemoryLayout.offset(of:) answers nil and the force-unwrap behind it traps at runtime; readElement inferred at Optional<Pointer<…>> reads a different shape and answers nil in silence; the four flag names collide with Demangling's decoder types; and SwiftPM incremental linking keeps stale generator objects after a member moves between a protocol extension and its conformers.
… descriptor's kind (proposal 0023 follow-up)
A type declared inside `extension <C type> { … }` is filed under a synthetic
extension keyed by an `ExtensionName` whose `kind` hosts group by. Since
proposal 0023 a C typedef the importer promoted to a nominal type demangles
as a `typeAlias`, and `Node.typeKind`'s `.struct` fallback cannot tell a CF
class from a typedef struct, so SwiftUICore's `__C.AGSubgraphRef` extension
moved from RuntimeViewer's "Swift Class Extension" group to "Swift Struct
Extension" once its name stopped being `__C.Subgraph`, while the same type's
conformance (descriptor kind) stayed under classes.
`SymbolicDemangler.extendedTypeContextDescriptor(forExtendedContext:in:)`
resolves the symbolic reference an extended-context mangling opens with, and
the indexer asks it for the kind exactly when the demangled tree is a
`typeAlias`; every other extension keeps the tree-derived kind, and a
reference this reader cannot follow falls back to it too. The protocol-nested
twin of the same path routes through the same helper.
Measured on SwiftUICore through runtime-viewer-cli: the 3138 top-level
objects differ in exactly one entry, `__C.AGSubgraphRef` back under "Swift
Class Extension". The same comparison established that proposal 0023 lost
no declarations: the 64 top-level "Swift Enum Conformance" entries that
disappeared were duplicate conformance blocks of structs nested in enum
namespaces, now folded into their types with the witnesses they lacked.
Pinned by `CImportedExtensionKindTests` (red before, green after).
…exists Two kinds of boilerplate go away, both of them re-stating something the layout already said. First, per-field `…Offset` properties. Every record holding a relative direct pointer resolved it the same three ways — null check, field location, stored delta — 23 times across 12 files. That collapses to one helper on LocatableLayoutWrapper, where the key path is the only thing that differs and it names the field at the call site anyway. Two callers survive as hand-written: the helper itself, and the value witness table pointer, which is relative-INDIRECTABLE and has a real branch (an indirect pointer names no offset within this image). Two layouts had to change type for this to reach them: TypeGenericContextDescriptorHeader's and SingletonMetadataInitialization's pointer fields were declared as bare RelativeOffset, which is what they are made of but not what they are. Left alone they would have been the only hand-rolled offsets left. Second, properties that only forward to `layout`. LayoutWrapper is @dynamicMemberLookup, so `record.classFlags` already reads `layout.classFlags`. The ones that merely widened a field to Int go too — the house style casts at the use site (FieldDescriptor, TupleTypeMetadata do), and a same-named property of a different type shadows the dynamic member, which is worse than either. What stays is every accessor that actually does something: decoding a bitfield, pointer arithmetic, reading a trailing array. Facts the deleted doc comments carried — a null relocation function means the runtime calls swift_relocateClassMetadata, a null ivar destroyer means the class needs none, which field is a union and what decides it — moved onto the layout fields they describe. One assumption the compiler refused: dynamic member lookup does NOT reach through an existential, because the key path's root is an associated type. GenericMetadataPatternProtocol's flag-word accessor could not simply be deleted in favour of it, so the assertion moved to the two concrete Suites, which already covered it. The five proposal-0018 `implementationOffset` properties keep their names — they are public API with consumers — and become one line each. Proposal: missing-abi-structures.
Each removed member's @test folds into the Suite's layout() test — the protocol Suite has none, so its one folded assertion joins hasExtraDataPattern() — and registeredTestMethodNames shrinks to match. No assertion was dropped except two that had become tautologies (a property compared against the layout field it forwarded to). A full regen-baselines leaves every recorded VALUE untouched; the only diff is one registration-list line per baseline, plus two fields in the pattern-protocol baseline that no longer had a reader. That is the evidence this was a refactor and not a change.
AGENTS.md gains the rule under MachOPointers, where the helper lives: a relative direct pointer is resolved one way, layout fields are already readable through @dynamicMemberLookup, do not re-declare either — and the lookup does not reach through an existential, which is the part that is easy to assume and wrong. The task report keeps the assumption that was falsified in passing, so the next reader does not retry it.
The three storage-level requirements of LocatableLayoutWrapper — var layout, let offset and init(layout:offset:) — carry no information a wrapper does not already state by declaring its nested Layout, yet every wrapper spells them out. A member macro generates them instead. The conformance is deliberately NOT generated: keeping the protocol on the declaration keeps ResolvableLocatableLayoutWrapper greppable, and a wrapper carrying further conformances keeps one list rather than half a list plus an expansion. Generated members take the host's own access level. A member the host declares itself is left alone with a warning, because silently dropping the generated one would make "the macro did not take" invisible.
97 sites across 96 files, all of them byte-identical apart from which of the two assignments came first. What is left in each file is the nested Layout — the only part that ever said anything. Three types spelled `offset` as a var (ProtocolDescriptor, ProtocolWitnessTable, AssociatedTypeRecord); nothing in the library ever assigned to it, so they follow the others to `let`. PublicMemberScanner has to change in the same commit: `layout` / `offset` are registered as public members by 96 coverage baselines, and the scanner reads source rather than macro expansions, so without the compensation the coverage invariant would report every one of them as a test registered against a member that no longer exists. The initializer needs no such treatment — it was already skipped.
…ough the extended type A type declared in an extension of another module's type is parented on an extension context descriptor, so its name - the offline one from SymbolicDemangler and the runtime's alike - carries `Extension(<extending module>, <extended type>)`. The interface printer had no case for that node and printed it as nothing, so every reference lost the extended type: `where B == Invalidations.Tuple<A1, B1>` for AppKit's `NSView.Invalidations.Tuple`, `[_Shadow]` for `[CALayer._Shadow]`, and, after the previous fix, specialized headers such as `struct ViewLoading<AppKit.AXPocketMode>`. `printNameInType` now prints an extension context as its child 1, the extended type, which is what the Demangling printer does too, minus the `(extension in <module>):` prefix a textual interface cannot spell. It sits in the dispatcher rather than in `printType` because `BoundDumpedTypeNameRenderer` hands a parent context to the resolver on its own. Member printers never print their context child, so the extension node only ever arrives as the context of a type. The dump path is untouched: its Demangling printer already spells the extended type. Tests: ExtensionContextTypeNameTests compiles a fixture dylib and renders it as a MachOFile the way `swift-section interface` does: a type nested in `extension Int`, a generic one, and one nested in `extension NSObject`, checked against however the class itself prints. The specialized-header case in SpecializedRuntimeTypeNameTests now asserts the whole header. All four failed before the fix and pass after it. Verified against a35daff with release CLIs over the macOS 26.7 cache: the AppKit dump is byte-identical, and the AppKit, SwiftUI and SwiftUICore interfaces change in 255, 163 and 734 lines, every one a pure insertion of the extended type before a name (`__C.NSView.`, `__C.NSEvent.`, `SwiftUI.Material.`, ...). The full suite (`--skip IntegrationTests`, 2015 tests) fails only the three SharedCacheTests wall-clock assertions and GenericSpecializationTests.argumentCandidatePathSpecializesNonGenericCandidate, which fails about half the time on b3e93a8 as well, with the same assertion.
objc-section shipped from MachOObjCSection, a fork of p-x9's repository, and a command-line tool plus a release pipeline of its own made tracking upstream too costly there. The two tools had also started to drift: this CLI reads cache files through FullDyldCache since 643bc61, objc-section still used a bare DyldCache, the --sections defect was fixed once on each side, and three model files were verbatim copies. `swift-section objc` now carries objc-section's five subcommands - dump (the default), interface, snapshot, diff and evolution - with the same options, output and exit codes. Only the command line moves; the ObjC libraries stay in MachOObjCSection, which this package already depends on. The floor rises to 0.8.106, the first release with ObjCDiffing, and the executable takes the five ObjC products its sources import. The sources come from the 0.8.106 tag with the five commands and two option groups prefixed ObjC. Architecture, SemanticColorScheme, MachOFile.load and the color helpers use this CLI's copies. The loader's errors are SwiftSectionCommandError cases with word-for-word the same text, so ObjCSectionCommandError keeps only its three ObjC cases. MachOOptionGroup is not shared: here it also carries --dependency-search-path, which only the Swift reading paths honor, so the objc subcommands keep an ObjCMachOOptionGroup rather than gain an option that does nothing.
The three suites move from MachOObjCSection's ObjCSectionCommandTests unchanged apart from the renamed types and the swift_section import: option parsing, the snapshot / diff / evolution argument validation, and dump's empty-result notes. The one test that pinned objc-section's root command now pins the objc group instead. A new test parses `swift-section objc <file>` from the root. Without it, dropping ObjCCommand from SwiftSectionCommand's subcommands would leave every other test green while the group vanished for users. macOS.yml runs an allowlist of suites, so the three are added to it.
README gains an objc section, with the objc-section → swift-section objc mapping for anyone upgrading from the 0.8.106 binary. The user guide (ObjCCommandLine.md, with a Chinese twin) carries over the four contracts from MachOObjCSection's guide that command-line users need: the superclass chain stopping at the image boundary on a file, unreliable ivar records of pure-Swift classes, the baseline formatVersion check, and dump's stderr-only empty-result notes. The library-facing ones stay with the library. Proposal 0036 records the approval, the four places the implementation departed from the detailed design, and the byte-for-byte comparison against the objc-section 0.8.106 release: 37 cases plus every subcommand's --help, identical stdout and exit codes, stderr differing only in the command name inside usage lines and the snapshot output path.
Keep field value sizes distinct from alignment padding and conditional enum payload storage. Reuse foreign-layout validation and retain generic dependency context so consumers can name exact accesses safely.
SymbolicDemangler took a private type's discriminator from one of two
records: the anonymous context's own mangled name, which the compiler
writes only under -enable-anonymous-context-mangled-names, and a symbol
at the anonymous descriptor. An OS framework in the dyld shared cache
has neither, so its private types demangled as if they were internal:
103 of the 183 Swift classes macOS 26.7's AppKit registers with the
Objective-C runtime got a different name from their descriptors than
from their runtime names.
The discriminator is still in the image, in the symbol the compiler
gives every mangled name that carries symbolic references
(IRGenMangler::mangleSymbolNameForSymbolicMangling): `_symbolic `, the
name with each reference spelled `_____`, then the full mangling of
every referent. That symbol sits on the mangled name in
__swift5_typeref, not on any descriptor, so an offset lookup at the
anonymous context cannot find it. AnonymousContextPrivateDiscriminatorIndex
goes through the reference instead: a direct context reference to a
type whose parent is an anonymous context yields that context's
discriminator. The .anonymous branch asks it only when neither record
exists.
RuntimeTypeNameDemangling replaced the runtime's
AnonymousContext("$<address>") with its parent because the offline name
dropped it too. It now looks the address up in the same index and
rewrites the type as a privateDeclName, so a name from the runtime and
one built from the descriptors agree.
dump and the layout comments print private discriminators, so private
types from system images now read (Name in _…); the interface output
omits them and changes only where two same-named private types used to
collide. SpecializedRuntimeTypeNameTests pins the comment's new shape.
The five new tests fail before this change and pass after it; with it,
all 183 AppKit classes agree.
The private discriminator fix scanned the symbol table for `_symbolic ` symbols on its own and parsed them in place. Those symbols are the only place a binary spells out what its symbolic references point at, so the scan becomes a general index with that fix as its first consumer. SymbolIndexStore collects `_symbolic ` and `_default assoc type ` symbols during the symtab pass it already makes, into a table of their own that no offset or name query sees: symbols(for:in:) and Symbol.resolve answer exactly as before. SwiftInspection's SymbolicManglingIndex reads the mangled name each symbol names, pairs its references with the symbol's referents in order, and keys them by where they point. It stores positions, never strings or nodes, and is evicted with the symbol store whose table it holds. A symbol's referents are one mangling, not several: the compiler appends them with one mangler, so a later referent reuses substitutions and words of the earlier ones (`7SwiftUI19_ConditionalContentV AA08ModifiedD0V`). The index demangles them together behind one `$s`. The discriminator index used to demangle each alone and got by only because it tried every reference to a descriptor; reading each descriptor once made the coverage test lose two nested private classes, which is how this surfaced. For the same reason the proposal's "expanded mangled name" query is dropped - splicing referents into the mangled name renumbers both sides' substitutions. AnonymousContextPrivateDiscriminatorIndex now walks the direct context references, reads each referenced descriptor's parent once, and takes the discriminator from the demangled referent. SymbolicDemangler's oracle test compares 880 AppKit type and protocol descriptors with the compiler's spelling: 878 agree, and the two that do not are types declared inside function bodies, recorded as a known issue. AppKit's dump and interface output is byte-identical to the previous commit's, with no measurable time difference. On macOS 26.7 AppKit has 3028 such symbols (307 KB of table and 135 KB of index as a MachOFile), SwiftUI 12348.
…and adjudications `/code-review xhigh` over ffbcf59 (proven nested field extents) produced 11 findings, each answered against the four questions (reproduce / baseline / worth fixing / prior fix): 2 real defects, 3 documentation defects, 7 false positives or not worth fixing (A40-A46). No code changed — this commit lands the record only; the user deferred the fixes. Both real defects predate the commit, reproduce on a compiled fixture, and disagree with the field offset vector the compiler emitted: - A C struct substituted into a generic struct defined in another image is laid out by accumulating its Swift field records, because structureLayout looks for the __swift5_builtin record only in the image that owns the field record. A #pragma pack(1) pair (size 5) reads as size 16 inside CoordinatePair<PackedPair>, and the next top-level field lands at 16 instead of 10. - Two same-named fileprivate structs share one layout: the type index keys on the name without its private discriminator, first writer wins, so HolderA.tag reads at 8 instead of 12. The new byteWidth now labels both wrong results as proven sizes.
… printer printExtensionHeader printed the protocol a conformance names through the demangler's generic printSemantic, a leftover from the interface borrowing SwiftDump's dumpProtocolName, while every other type reference in the interface goes through SemanticTypeNodePrinter. For a private / fileprivate protocol that path lost both halves of the name RuntimeViewer highlights and links by: the name came out as .standard text (the demangler's printEntity passed no entity kind to a name wrapped in privateDeclName) and without a span identity (the wrapper was printed through the demangler's print cache into a sub-target whose scope stack is empty). Every conformance to a private protocol — 58 in SwiftUI's interface alone — was plain, unclickable text, while the same protocol named in a member signature was fine. The header now prints the name with printThrowingType, as the global-actor attribute on the same line already did. The clause keeps its nil-node / thrown-error semantics. ConformanceProtocolNameSemanticsTests pins the fixture's AlphaProtocolWitness: PrivateDoppelgangerProtocol: the name must be .type(.protocol, .name) and its span identity the declaration's mangled name, the key RuntimeViewer looks a jump target up by. Both expectations fail before this change. The interface and dump output of SwiftUI, SwiftUICore and Foundation is byte-for-byte unchanged. The demangler side is fixed separately in swift-demangling (35d550a); the task report covers both, and ReviewAdjudications A47 records the one same-class site left alone, the diff renderer's private leaf names.
…apping SymbolicManglingIndex reads the mangled name a symbolic-mangling symbol names at the symbol's value, and ObjCImplementationClassIndex reads the offset a direct field offset global holds the same way. Both values are the binary's claim. An n_value of 2^63 or more in a standalone file comes back from MachOKit as a negative offset, and MachOFile's reader converts every offset to UInt64 before any bounds check, so one malformed symbol trapped the whole process from inside the index build (swift-section, or RuntimeViewer's host process) where no try? could catch it. Both sites now refuse a negative offset before reading: the symbolic-mangling symbol counts as unpaired, the field offset as unread. MalformedSymbolValueTests links a dylib whose assembler .set symbols carry such values next to a Swift class. Before the fix each test killed the runner with "Negative value is not representable"; both pass now. The same unchecked conversion in MachOKitExtensions' address(forOffset:), reached by dump's member address comments, predates 0.19.0 and lives in another package; it is left for a separate fix.
The macOS job's --filter still named MetadataReaderDemanglingTests, which proposal 0022 renamed to SymbolicDemanglerDemanglingTests. A name that matches nothing fails nothing, so its four tests had quietly left CI since that rename. ContinuousIntegrationTestFilterTests reads the workflow's filter and requires every name in it to be a type some test source declares. It reported the stale name before the rename here, and runs in the filter itself so the job checks its own list; MalformedSymbolValueTests joins it, needing nothing but the toolchain.
None was a product regression; each test stopped matching the world: - noncopyableMultiPayloadEnumDegradesToNoLayout pinned that a ~Copyable multi-payload enum (kind-9 payload references) gets no layout, as a trip-wire for the day those payloads resolve. They do: the in-process backend asks the runtime for each payload type. The pin becomes noncopyableMultiPayloadEnumLaysOutFromItsResolvedPayloads, asserting the layout the fixture source implies (an extra tag byte at offset 8: holding 0, boxed 1, empty 2), and the sweep stops excluding the enum. - AppKitObjCMemberTests expected -[NSGlassEffectView initWithCoder:] to tie to its Swift initializer. On macOS 27.0 (26A428) the thunk still calls the initializer body, but that body carries no symbol (bl sub_185DF6284, checked in IDA against the archived 27.0 cache, same UUID as the host), so there is nothing to name the member by. The expectation now holds only on macOS 26, where it still ties. - HostCacheSwiftUICoreMergedAccessorTests read the running system's cache. From the 26.7 build on, SwiftUICore spells Synchronization.Mutex<...> directly in those two fields' mangled names instead of through accessor-function references, leaving the test nothing to read. It now reads the archived macOS 26.6 cache, where both are still references, gated on the archive being present, requires that premise explicitly, and is renamed ArchivedMacOSCacheSwiftUICoreMergedAccessorTests.
ObjCInterfaceSession stores ObjCInterfaceIndexer<MachOFile> and ObjCInterfaceBuilder<MachOFile>, whose generic requirement is met by MachOFile's ObjCMetadataSource conformance, declared in that module. The file reached it only transitively, which Swift 6.4 (Xcode 27) now warns about: "cannot use conformance of 'MachOFile' to 'ObjCMetadataSource' in a property declaration ... 'ObjCMetadataSource' was not imported by this file". The file imports the module and the swift-section target declares the product it comes from; the Xcode 27 release build of swift-section is warning-free again.
0.7.1 hands a private, local or related entity name its kind and its entity's scope when printed (swift-demangling 35d550a). Without it, dump and the evolution renderer print every private type and protocol name as untyped text with no span identity, so RuntimeViewer can neither highlight nor link them; the interface printer's own fix in 9a87a96 covers only the conformance clause.
…view Fourteen proposals had landed on next without a number, seven of them still marked In Progress although their code had merged. Numbered in landing order as 0037-0050 against the shared branches' maximum (0036), with every same-repo link, the index, and the evolution-log headings following the renames; each gets a decision-log entry, and the seven move to Implemented with the companion-document and glossary verdicts recorded. draft-static-layout-through-accessor-thunks has not started and stays a draft. The release review of next @ ad56462 is recorded as Roadmaps/2026-09-26-release-0.20.0-review-findings.md. What it decided not to fix goes to ReviewAdjudications: - A48: the in-process _symbolic path builds an image's whole symbol store and keeps it; left until measured. - A49: the ABI snapshot format version stays at 5 although renamed types change their keys; the changelog tells users to regenerate their baselines. - A50: the same negative-offset trap in MachOKitExtensions' address(forOffset:), which predates 0.19.0; left for that package's next release. The evolution log gains section 59, for the 2026-09-25 conformance fix that had none, and section 60, for this batch. Every section since 0.19.0 now names 0.20.0 as its release.
MachOKit read a dyld_chained_starts_in_segment even for a segment whose seg_info_offset is 0 (no fixups), reinterpreting the image-level header. In a dylib with no __DATA segment, which is what a module declaring no class compiles to, the bogus page_count came out as 0x4000 and the page read ran off the file mapping: swift-section dump crashed on such a dylib about one run in five, 0.19.0 included, and Homebrew's formula test builds exactly that dylib. 0.52.103 (MachOKit 0ef5c24) returns an empty entry for such a segment instead. Measured against the struct-only dylib, the release CLI built on this floor crashed 0 of 60 runs (4 of 30 per dylib before), and dump and interface of the SymbolTestsCore fixture and of the iOS 26.5 simulator's SwiftUI are byte-identical with and without the fix. The workaround the trap forced is retired with it: AGENTS.md no longer requires a class in every compiled-on-the-fly fixture, the fixtures' comments say the MachOKit that needed their ballast is the one before 0.52.103, and FixtureTestingAndContinuousIntegration.md keeps the history of why that ballast exists.
The release review's Homebrew check had passed only because its script read the exit status of a command substitution; the system crash report showed swift-section dump crashing on the formula's struct-only dylib, 0.19.0 included. That is finding 11, fixed in MachOKit 0.52.103. A full-suite run on the release branch failed ProtocolRecordTests, and another crashed in the same test with SIGBUS: MachOKitExtensions' MachOImage.cache takes any image above the shared region's start for a cache image, so a fixture dlopen'd that high reads everything shifted by 0x180000000. It predates 0.19.0 and lives in that package, so it is adjudicated A51 and left, with A50, for MachOKitExtensions' next release. The evolution log's section 60 gains both and the final verification of the release branch.
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Three critical findings remain unresolved, including a build-blocking import and unsafe broken-pipe handling.
Review effort: Lite
Findings: 3
Open (3)
What changed in this PR
Release 0.20.0 adds offline accessor-thunk analysis, Objective-C commands and recovery, expanded Swift ABI metadata, API migrations, and updated tests, fixtures, documentation, and release metadata.
Changes:
- Adds thunk analysis, Objective-C support, and dependency search paths.
- Adds Swift 6.4 metadata and layout-wrapper support.
- Updates rendering, indexing, demangling, baselines, and release configuration.
| File | Description |
|---|---|
Tests/SwiftThunkAnalysisTests/UnreadableAccessorThunkResolver.swift |
Updated test coverage. |
Tests/SwiftSpecializationTests/GenericTypeNameSubstitutionTests.swift |
Updated specialization tests. |
Tests/SwiftSpecializationTests/GenericSpecializationTests.swift |
Updated specialization tests. |
Tests/SwiftSectionCommandTests/DumpSectionsOptionTests.swift |
Updated command tests. |
Tests/SwiftLayoutTests/WholeTypeLayoutVsRuntimeTests.swift |
Updated layout tests. |
Tests/SwiftLayoutTests/TopLevelGenericInstantiationLayoutTests.swift |
Updated layout tests. |
Tests/SwiftLayoutTests/StaticLayoutVsRuntimeTests.swift |
Updated layout tests. |
Tests/SwiftLayoutTests/RecursiveNestedFieldOffsetTreeTests.swift |
Updated layout tests. |
Tests/SwiftLayoutTests/ObjCProtocolExistentialTests.swift |
Updated Objective-C layout tests. |
Tests/SwiftLayoutTests/ObjCAncestorSlideLayoutTests.swift |
Updated Objective-C layout tests. |
Tests/SwiftLayoutTests/MultiPayloadEnumStructuralTests.swift |
Updated enum layout tests. |
Tests/SwiftLayoutTests/MetatypeAndGenericEnumProjectionLayoutTests.swift |
Updated projection tests. |
Tests/SwiftLayoutTests/ExistentialLayoutTests.swift |
Updated existential layout tests. |
Tests/SwiftLayoutTests/ClassBoundParameterLayoutTests.swift |
Updated layout tests. |
Tests/SwiftInterfaceTests/SwiftInterfaceBuilderDependenciesTests.swift |
Updated interface dependency tests. |
Tests/SwiftInterfaceTests/PrintFailureEventTests.swift |
Updated output tests. |
Tests/SwiftInterfaceTests/ExportedOnlyLibraryEvolutionFixtureTests.swift |
Updated fixture tests. |
Tests/SwiftInterfaceTests/DiffMemberIndentationTests.swift |
Updated rendering tests. |
Tests/SwiftInspectionTests/EnumLayoutVerificationTests.swift |
Updated inspection tests. |
Tests/SwiftDumpTests/Snapshots/SymbolTestsCoreDumpSnapshotTests.swift |
Updated snapshot tests. |
Tests/SwiftDumpTests/Snapshots/__Snapshots__/SymbolTestsCoreDumpSnapshotTests/enumsSnapshot.1.txt |
Updated snapshot fixture. |
Tests/SwiftDumpTests/ExportStatusDumpAnnotationTests.swift |
Updated dump tests. |
Tests/SwiftDeclarationRenderingTests/RuntimeEnumLayoutRenderingTests.swift |
Updated rendering tests. |
Tests/SwiftDeclarationRenderingTests/RecursiveNestedFieldOffsetExpansionTests.swift |
Updated rendering tests. |
Tests/SwiftDeclarationRenderingTests/FieldLayoutRendererReaderSpecializationTests.swift |
Updated rendering tests. |
Tests/MachOSwiftSectionTests/SpecializedMangledNameResolutionTests.swift |
Updated resolution tests. |
Tests/MachOSwiftSectionTests/Fixtures/ValueWitnessTable/ValueWitnessFlagsTests.swift |
Updated fixture tests. |
Tests/MachOSwiftSectionTests/Fixtures/OpaqueType/OpaqueTypeFixtureTests.swift |
Updated opaque-type tests. |
Tests/MachOSwiftSectionTests/Fixtures/__Baseline__/TypeGenericContextDescriptorHeaderBaseline.swift |
Updated ABI baseline. |
Tests/MachOSwiftSectionTests/Fixtures/__Baseline__/SingletonMetadataInitializationBaseline.swift |
Updated ABI baseline. |
Tests/MachOSwiftSectionTests/Fixtures/__Baseline__/ResilientClassMetadataPatternBaseline.swift |
Updated ABI baseline. |
Tests/MachOSwiftSectionTests/Fixtures/__Baseline__/OpaqueTypeDescriptorProtocolBaseline.swift |
Updated ABI baseline. |
Tests/MachOSwiftSectionTests/Fixtures/__Baseline__/MetadataSourceRecordBaseline.swift |
Updated ABI baseline. |
Tests/MachOSwiftSectionTests/Fixtures/__Baseline__/GenericValueMetadataPatternBaseline.swift |
Updated ABI baseline. |
Tests/MachOSwiftSectionTests/Fixtures/__Baseline__/GenericMetadataPartialPatternBaseline.swift |
Updated ABI baseline. |
Tests/MachOSwiftSectionTests/Fixtures/__Baseline__/CaptureTypeRecordBaseline.swift |
Updated ABI baseline. |
Tests/MachOSwiftSectionTests/Fixtures/__Baseline__/BorrowTypeMetadataBaseline.swift |
Updated ABI baseline. |
Tests/MachODependenciesTests/DependencyClosureTests.swift |
Updated dependency tests. |
Tests/IntegrationTests/SwiftInterface/RenderingVerificationTests.swift |
Updated integration tests. |
Tests/IntegrationTests/MachOSwiftSection/PrimitiveTypeMappingTests.swift |
Updated integration coverage. |
Sources/Utilities/Macros/LocatableLayoutWrapping.swift |
Defines the layout wrapper macro. |
Sources/SwiftSpecialization/TypeDefinition+Specialization.swift |
Preserves specialization export status. |
Sources/SwiftSpecialization/ConformanceProvider.swift |
Updates demangler integration. |
Sources/SwiftPrinting/NodePrinter/TypeNodePrinter.swift |
Generalizes type printing. |
Sources/SwiftPrinting/InterfaceHeader.swift |
Generalizes interface input handling. |
Sources/SwiftLayout/ExistentialLayoutBridge.swift |
Updates layout dependencies. |
Sources/SwiftLayout/DependentMemberTypeBridge.swift |
Updates demangler integration. |
Sources/SwiftLayout/BuiltinTypeLayoutIndex.swift |
Updates demangler integration. |
Sources/SwiftInterface/SwiftInterfaceBuilderDependencies.swift |
Updates interface dependencies. |
Sources/SwiftInterface/SwiftInterfaceBuilder.swift |
Updates interface building. |
Sources/SwiftInterface/SwiftEvolutionInterfaceBuilder.swift |
Updates evolution interface building. |
Sources/SwiftInterface/SwiftDiffableInterfaceRenderer.swift |
Updates diff rendering. |
Sources/SwiftInterface/SwiftDiffableInterfaceBuilder.swift |
Updates diff building. |
Sources/SwiftInterface/InterfaceVersionRendering.swift |
Updates version rendering. |
Sources/SwiftInterface/AnySwiftEvolutionInterfaceBuilder.swift |
Updates evolution interface support. |
Sources/SwiftInspection/PrimitiveTypeMappingCache.swift |
Updates primitive-type inspection. |
Sources/SwiftIndexing/SwiftIndexEventsHandlers.swift |
Reports Objective-C events. |
Sources/SwiftIndexing/SwiftIndexEventReporter.swift |
Emits indexing events. |
Sources/SwiftIndexing/SwiftDeclarationIndexConfiguration.swift |
Adds dependency search paths. |
Sources/SwiftDump/Protocols/NamedDumpable.swift |
Updates dump protocols. |
Sources/SwiftDump/Protocols/Dumper.swift |
Updates dumper constraints. |
Sources/SwiftDump/Protocols/Dumpable.swift |
Updates dump APIs. |
Sources/SwiftDump/Protocols/ConformedDumpable.swift |
Updates conformance dumping. |
Sources/SwiftDump/Extensions/TypeWrapper+Dumper.swift |
Updates type dumping. |
Sources/SwiftDump/Dumper/ExtensionDumper.swift |
Updates extension dumping. |
Sources/SwiftDump/Dumpable/Struct+Dumpable.swift |
Updates struct dumping. |
Sources/SwiftDump/Dumpable/ProtocolConformance+Dumpable.swift |
Updates conformance dumping. |
Sources/SwiftDump/Dumpable/Protocol+Dumpable.swift |
Updates protocol dumping. |
Sources/SwiftDump/Dumpable/Enum+Dumpable.swift |
Updates enum dumping. |
Sources/SwiftDump/Dumpable/Class+Dumpable.swift |
Updates class dumping. |
Sources/SwiftDump/Dumpable/AssociatedType+Dumpable.swift |
Updates associated-type dumping. |
Sources/SwiftDiffing/ABIDiffer.swift |
Updates ABI diff behavior. |
Sources/SwiftDeclarationRendering/StaticFieldLayoutBackend.swift |
Updates field layout rendering. |
Sources/SwiftDeclarationRendering/ParentClassVTableCache.swift |
Updates vtable handling. |
Sources/SwiftDeclarationRendering/MultiPayloadEnumDescriptorCache.swift |
Updates enum rendering support. |
Sources/SwiftDeclarationRendering/Extensions/MetadataWrapper+Dump.swift |
Updates metadata dumping. |
Sources/SwiftDeclarationRendering/Extensions/Keyword+Swift.swift |
Adds Swift keyword support. |
Sources/SwiftDeclarationRendering/Extensions/ContextDescriptorWrapper+Dump.swift |
Updates descriptor dumping. |
Sources/SwiftDeclarationRendering/BoundDumpedTypeNameRenderer.swift |
Updates type-name rendering. |
Sources/SwiftDeclaration/Extensions/Sequence+NonNil.swift |
Adds non-nil sequence helpers. |
Sources/SwiftDeclaration/Extensions/Protocol+Names.swift |
Adds protocol-name resolution. |
Sources/SwiftDeclaration/Extensions/FieldRecord+DemangledType.swift |
Adds field type demangling. |
Sources/SwiftDeclaration/Extensions/DemanglingNode+AccessorKind.swift |
Adds accessor-kind detection. |
Sources/SwiftDeclaration/Components/Names/ExtensionName.swift |
Updates extension-name handling. |
Sources/SwiftDeclaration/Components/Definitions/SubscriptDefinition.swift |
Adds Objective-C member facts. |
Sources/SwiftDeclaration/Components/Definitions/ExtensionDefinition+ThunkAttributes.swift |
Adds thunk attributes. |
Sources/SwiftDeclaration/Components/Definitions/Definition.swift |
Updates declaration indexing. |
Sources/SwiftDeclaration/Components/Definitions/AssociatedTypeWitnessProjection.swift |
Updates associated-type projections. |
Sources/SwiftDeclaration/Components/Definitions/Accessor.swift |
Updates accessor definitions. |
Sources/SwiftDeclaration/Components/Building/MemberSymbolBucketing.swift |
Updates member symbol bucketing. |
Sources/swift-section/Version.swift |
Bumps version to 0.20.0. |
Sources/swift-section/Utilities/Extensions.swift |
Updates cache utilities. |
Sources/swift-section/SwiftSectionCommand.swift |
Registers Objective-C commands. |
Sources/swift-section/ObjC/Utilities/StandardErrorLog.swift |
Adds Objective-C stderr logging. |
Sources/swift-section/ObjC/ObjCCommand.swift |
Adds the Objective-C command hierarchy. |
Sources/swift-section/ObjC/Models/ObjCSectionKind.swift |
Defines Objective-C sections. |
Sources/swift-section/ObjC/Models/ObjCSectionCommandError.swift |
Defines command errors. |
Sources/swift-section/Models/SwiftSection.swift |
Adds Objective-C implementation sections. |
Sources/swift-section/Models/ObjCMemberOptionGroup.swift |
Adds override inference options. |
Sources/swift-section/Commands/SnapshotCommand.swift |
Adds accessor-thunk resolution. |
Sources/MachOTestingSupport/DyldCacheTests.swift |
Updates cache test support. |
Sources/MachOSymbols/Symbol.swift |
Updates symbol resolution. |
Sources/MachOSymbols/StructuralNodeReferenceKey.swift |
Updates structural symbol references. |
Sources/MachOSymbols/InternedNodeReferenceCache.swift |
Updates reference caching. |
Sources/MachOSwiftSection/Utils/AnyLocatableLayoutWrapper.swift |
Adopts layout wrapping. |
Sources/MachOSwiftSection/Protocols/SwiftSectionRepresentable.swift |
Updates section representations. |
Sources/MachOSwiftSection/Protocols/FlagSet.swift |
Generalizes flag handling. |
Sources/MachOSwiftSection/Pointer/RelativeProtocolDescriptorPointer.swift |
Updates relative pointers. |
Sources/MachOSwiftSection/Models/ValueWitnessTable/ValueWitnessTable.swift |
Updates value witness metadata. |
Sources/MachOSwiftSection/Models/Type/ValueMetadataProtocol.swift |
Updates value metadata protocols. |
Sources/MachOSwiftSection/Models/Type/ValueMetadata.swift |
Updates value metadata. |
Sources/MachOSwiftSection/Models/Type/TypeReference.swift |
Updates type references. |
Sources/MachOSwiftSection/Models/Type/TypeContextWrapper.swift |
Updates type context handling. |
Sources/MachOSwiftSection/Models/Type/Struct/StructMetadata.swift |
Updates struct metadata. |
Sources/MachOSwiftSection/Models/Type/Struct/StructDescriptor.swift |
Updates struct descriptors. |
Sources/MachOSwiftSection/Models/Type/Enum/Metadata/EnumMetadataProtocol.swift |
Updates enum metadata protocols. |
Sources/MachOSwiftSection/Models/Type/Enum/Metadata/EnumMetadata.swift |
Updates enum metadata. |
Sources/MachOSwiftSection/Models/Type/Enum/EnumDescriptor.swift |
Updates enum descriptors. |
Sources/MachOSwiftSection/Models/Type/Class/Resilient/ResilientSuperclass.swift |
Updates resilient superclass metadata. |
Sources/MachOSwiftSection/Models/Type/Class/Resilient/ObjCResilientClassStubInfo.swift |
Updates Objective-C class stubs. |
Sources/MachOSwiftSection/Models/Type/Class/Method/VTableDescriptorHeader.swift |
Updates vtable descriptors. |
Sources/MachOSwiftSection/Models/Type/Class/Method/OverrideTableHeader.swift |
Updates override tables. |
Sources/MachOSwiftSection/Models/Type/Class/Method/MethodDescriptor.swift |
Updates method descriptors. |
Sources/MachOSwiftSection/Models/Type/Class/Method/MethodDefaultOverrideTableHeader.swift |
Updates default override tables. |
Sources/MachOSwiftSection/Models/Type/Class/Metadata/ObjCClassWrapperMetadata.swift |
Updates Objective-C class metadata. |
Sources/MachOSwiftSection/Models/Type/Class/Metadata/ClassMetadataObjCInterop/ClassMetadataObjCInterop.swift |
Updates Objective-C interoperation. |
Sources/MachOSwiftSection/Models/Type/Class/Metadata/ClassMetadata/ClassMetadata.swift |
Updates class metadata. |
Sources/MachOSwiftSection/Models/Type/Class/Metadata/Bounds/StoredClassMetadataBounds.swift |
Updates metadata bounds. |
Sources/MachOSwiftSection/Models/Type/Class/Metadata/Bounds/ClassMetadataBounds.swift |
Updates metadata bounds. |
Sources/MachOSwiftSection/Models/Type/Class/Metadata/AnyClassMetadataObjCInterop/AnyClassMetadataObjCInterop.swift |
Updates Objective-C metadata interoperation. |
Sources/MachOSwiftSection/Models/Type/Class/Metadata/AnyClassMetadata/AnyClassMetadataProtocol.swift |
Updates class metadata protocols. |
Sources/MachOSwiftSection/Models/Type/Class/Metadata/AnyClassMetadata/AnyClassMetadata.swift |
Updates class metadata. |
Sources/MachOSwiftSection/Models/Protocol/ResilientWitnessesHeader.swift |
Updates witness metadata. |
Sources/MachOSwiftSection/Models/Protocol/ProtocolWitnessTable.swift |
Updates witness tables. |
Sources/MachOSwiftSection/Models/OpaqueType/OpaqueTypeDescriptorProtocol.swift |
Updates opaque-type descriptors. |
Sources/MachOSwiftSection/Models/OpaqueType/OpaqueTypeDescriptor.swift |
Updates opaque-type descriptors. |
Sources/MachOSwiftSection/Models/OpaqueType/OpaqueMetadata.swift |
Updates opaque metadata. |
Sources/MachOSwiftSection/Models/Module/ModuleContextDescriptor.swift |
Updates module descriptors. |
Sources/MachOSwiftSection/Models/Module/ModuleContext.swift |
Updates module contexts. |
Sources/MachOSwiftSection/Models/Metadata/SingletonMetadataPointer.swift |
Updates metadata pointers. |
Sources/MachOSwiftSection/Models/Metadata/MetatypeMetadata.swift |
Updates metatype metadata. |
Sources/MachOSwiftSection/Models/Metadata/MetadataKind.swift |
Adds Borrow metadata kind. |
Sources/MachOSwiftSection/Models/Metadata/MetadataInitialization/ForeignMetadataInitialization.swift |
Updates metadata initialization. |
Sources/MachOSwiftSection/Models/Metadata/MetadataBounds.swift |
Updates metadata bounds. |
Sources/MachOSwiftSection/Models/Metadata/Metadata.swift |
Updates metadata models. |
Sources/MachOSwiftSection/Models/Metadata/Headers/TypeMetadataLayoutPrefix.swift |
Updates metadata layout headers. |
Sources/MachOSwiftSection/Models/Metadata/Headers/TypeMetadataHeaderBase.swift |
Updates metadata headers. |
Sources/MachOSwiftSection/Models/Metadata/Headers/TypeMetadataHeader.swift |
Updates metadata headers. |
Sources/MachOSwiftSection/Models/Metadata/Headers/HeapMetadataHeaderPrefix.swift |
Updates heap metadata headers. |
Sources/MachOSwiftSection/Models/Metadata/Headers/HeapMetadataHeader.swift |
Updates heap metadata headers. |
Sources/MachOSwiftSection/Models/Metadata/FullMetadata.swift |
Updates full metadata. |
Sources/MachOSwiftSection/Models/Metadata/FixedArrayTypeMetadata.swift |
Updates fixed-array metadata. |
Sources/MachOSwiftSection/Models/Metadata/CanonicalSpecializedMetadatasListEntry.swift |
Updates specialized metadata entries. |
Sources/MachOSwiftSection/Models/Metadata/CanonicalSpecializedMetadatasCachingOnceToken.swift |
Updates metadata caching. |
Sources/MachOSwiftSection/Models/Metadata/CanonicalSpecializedMetadataAccessorsListEntry.swift |
Updates metadata accessors. |
Sources/MachOSwiftSection/Models/Metadata/BorrowTypeMetadataLayout.swift |
Defines Borrow metadata layout. |
Sources/MachOSwiftSection/Models/Metadata/BorrowTypeMetadata.swift |
Adds Borrow metadata support. |
Sources/MachOSwiftSection/Models/Mangling/MangledName.swift |
Updates mangled names. |
Sources/MachOSwiftSection/Models/Mangling/CImportedModuleNames.swift |
Updates imported module names. |
Sources/MachOSwiftSection/Models/Heap/HeapLocalVariableMetadata.swift |
Updates capture metadata. |
Sources/MachOSwiftSection/Models/Heap/GenericBoxHeapMetadata.swift |
Updates generic box metadata. |
Sources/MachOSwiftSection/Models/Generic/Pattern/GenericMetadataPartialPattern.swift |
Adds generic metadata patterns. |
Sources/MachOSwiftSection/Models/Generic/GenericWitnessTable.swift |
Updates generic witness tables. |
Sources/MachOSwiftSection/Models/Generic/GenericValueHeader.swift |
Updates generic value metadata. |
Sources/MachOSwiftSection/Models/Generic/GenericValueDescriptor.swift |
Updates generic value descriptors. |
Sources/MachOSwiftSection/Models/Generic/GenericRequirement.swift |
Updates generic requirements. |
Sources/MachOSwiftSection/Models/Generic/GenericParamDescriptor.swift |
Updates generic parameters. |
Sources/MachOSwiftSection/Models/Generic/GenericPackShapeHeader.swift |
Updates generic pack shapes. |
Sources/MachOSwiftSection/Models/Generic/GenericPackShapeDescriptor.swift |
Updates generic pack descriptors. |
Sources/MachOSwiftSection/Models/Generic/GenericEnvironment.swift |
Updates generic environments. |
Sources/MachOSwiftSection/Models/Generic/GenericContextDescriptorHeader.swift |
Applies layout-wrapper support. |
Sources/MachOSwiftSection/Models/Function/FunctionTypeMetadata.swift |
Updates function metadata. |
Sources/MachOSwiftSection/Models/Function/FunctionTypeDifferentiabilityKind.swift |
Adds differentiability metadata. |
Sources/MachOSwiftSection/Models/Function/FunctionParameterOwnership.swift |
Adds ownership metadata. |
Sources/MachOSwiftSection/Models/ForeignType/ForeignReferenceTypeMetadata.swift |
Updates foreign type metadata. |
Sources/MachOSwiftSection/Models/ForeignType/ForeignClassMetadata.swift |
Updates foreign class metadata. |
Sources/MachOSwiftSection/Models/Extension/ExtensionContext.swift |
Updates extension metadata. |
Sources/MachOSwiftSection/Models/ExistentialType/ExtendedExistentialTypeMetadata.swift |
Updates existential metadata. |
Sources/MachOSwiftSection/Models/ExistentialType/ExistentialMetatypeMetadata.swift |
Updates existential metatypes. |
Sources/MachOSwiftSection/Models/DispatchClass/DispatchClassMetadata.swift |
Updates dispatch metadata. |
Sources/MachOSwiftSection/Models/ContextDescriptor/ContextWrapper.swift |
Updates context wrappers. |
Sources/MachOSwiftSection/Models/ContextDescriptor/ContextProtocol.swift |
Updates context protocols. |
Sources/MachOSwiftSection/Models/ContextDescriptor/ContextDescriptor.swift |
Updates context descriptors. |
Sources/MachOSwiftSection/Models/Capture/Capture.swift |
Updates capture models. |
Sources/MachOSwiftSection/Models/BuiltinType/BuiltinType.swift |
Updates builtin type models. |
Sources/MachOSwiftSection/Models/AssociatedType/AssociatedType.swift |
Updates associated-type models. |
Sources/MachOSwiftSection/Models/Anonymous/AnonymousContextDescriptorProtocol.swift |
Updates anonymous context protocols. |
Sources/MachOSwiftSection/Models/Anonymous/AnonymousContextDescriptor.swift |
Updates anonymous descriptors. |
Sources/MachOSwiftSection/Models/Anonymous/AnonymousContext.swift |
Updates anonymous contexts. |
Sources/MachOSwiftSection/Models/AccessibleFunction/AccessibleFunctionFlags.swift |
Adds accessible-function flags. |
Sources/MachOResolving/SymbolOrElement.swift |
Generalizes symbol resolution. |
Sources/MachOPointers/Protocol/RelativePointerProtocol.swift |
Updates relative pointer APIs. |
Sources/MachOPointers/Protocol/RelativeIndirectType.swift |
Updates indirect pointer APIs. |
Sources/MachOPointers/Protocol/RelativeIndirectablePointerIntPairProtocol.swift |
Updates indirectable pointers. |
Sources/MachOPointers/Pointer.swift |
Generalizes pointer resolution. |
Sources/MachOMacros/MachOMacroPlugin.swift |
Registers layout macros. |
Sources/MachOFixtureSupport/DyldSharedCachePath.swift |
Updates cache fixture paths. |
Sources/MachOFixtureSupport/Baseline/Generators/KeyPath/KeyPathFixtureDescriptors.swift |
Updates key-path fixtures. |
Sources/MachOFixtureSupport/Baseline/Generators/Generic/TypeGenericContextDescriptorHeaderBaselineGenerator.swift |
Updates generic baselines. |
Sources/MachOFixtureSupport/Baseline/Generators/Generic/Pattern/GenericMetadataPatternFixtures.swift |
Updates generic fixtures. |
Sources/MachOFixtureSupport/Baseline/Generators/FunctionPointer/AsyncFunctionPointerFixtureRecords.swift |
Updates async pointer fixtures. |
Sources/MachOFixtureSupport/Baseline/Generators/Capture/CaptureFixtureDescriptors.swift |
Updates capture fixtures. |
Sources/MachOFixtureSupport/Baseline/BaselineEmitter.swift |
Updates baseline emission. |
Sources/MachODependencies/DependencyClosure.swift |
Filters dependencies by platform. |
PrecompiledLibraries/swift-syntax/Sources/SwiftWarningControl_Aggregation/SwiftWarningControl_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntaxMacrosTestSupport_Aggregation/SwiftSyntaxMacrosTestSupport_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntaxMacrosTestSupport_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntaxMacrosGenericTestSupport_Aggregation/SwiftSyntaxMacrosGenericTestSupport_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntaxMacrosGenericTestSupport_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntaxMacros_Aggregation/SwiftSyntaxMacros_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntaxMacros_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntaxMacroExpansion_Aggregation/SwiftSyntaxMacroExpansion_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntaxMacroExpansion_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntaxBuilder_Aggregation/SwiftSyntaxBuilder_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntaxBuilder_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax603_Aggregation/SwiftSyntax603_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax602_Aggregation/SwiftSyntax602_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax601_Aggregation/SwiftSyntax601_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax601_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax600_Aggregation/SwiftSyntax600_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax600_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax510_Aggregation/SwiftSyntax510_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax510_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax509_Aggregation/SwiftSyntax509_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax509_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax_Aggregation/SwiftSyntax_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftSyntax_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftRefactor_Aggregation/SwiftRefactor_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftRefactor_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftParserDiagnostics_Aggregation/SwiftParserDiagnostics_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftParserDiagnostics_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftParser_Aggregation/SwiftParser_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftParser_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftOperators_Aggregation/SwiftOperators_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftOperators_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftLibraryPluginProvider_Aggregation/SwiftLibraryPluginProvider_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftLibraryPluginProvider_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftLexicalLookup_Aggregation/SwiftLexicalLookup_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftLexicalLookup_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftIfConfig_Aggregation/SwiftIfConfig_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftIfConfig_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftIDEUtils_Aggregation/SwiftIDEUtils_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftIDEUtils_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftDiagnostics_Aggregation/SwiftDiagnostics_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftDiagnostics_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftCompilerPluginMessageHandling_Aggregation/SwiftCompilerPluginMessageHandling_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftCompilerPluginMessageHandling_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftCompilerPlugin_Aggregation/SwiftCompilerPlugin_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftCompilerPlugin_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/SwiftBasicFormat_Aggregation/SwiftBasicFormat_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/SwiftBasicFormat_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/_SwiftSyntaxGenericTestSupport_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/_SwiftSyntaxGenericTestSupport_Aggregation/_SwiftSyntaxGenericTestSupport_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/_SwiftSyntaxCShims_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/_SwiftSyntaxCShims_Aggregation/_SwiftSyntaxCShims_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/_SwiftLibraryPluginProviderCShims_Aggregation/Empty.swift |
Adds aggregation stub. |
PrecompiledLibraries/swift-syntax/Sources/_SwiftLibraryPluginProviderCShims_Aggregation/_SwiftLibraryPluginProviderCShims_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/_SwiftLibraryPluginProvider_Aggregation/_SwiftLibraryPluginProvider_Aggregation.swift |
Adds aggregation source. |
PrecompiledLibraries/swift-syntax/Sources/_SwiftCompilerPluginMessageHandling_Aggregation/_SwiftCompilerPluginMessageHandling_Aggregation.swift |
Adds aggregation source. |
MachOSwiftSection.xcworkspace/contents.xcworkspacedata |
Updates workspace dependencies. |
Documentations/Internal/FieldMetadataRenderingMigration.md |
Updates migration documentation. |
Documentations/Internal/ExtensionContainerUnification.md |
Updates internal documentation. |
Documentations/Internal/DefaultImplementationAwareCompatibility.md |
Updates compatibility documentation. |
Documentations/Evolutions/0018-self-contained-abi-layer.md |
Updates evolution documentation. |
.github/workflows/macOS.yml |
Updates CI configuration. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| @@ -1,15 +1,9 @@ | |||
| @LocatableLayoutWrapping | |||
Comment on lines
+37
to
+38
| FileHandle.standardOutput.write(encoded) | ||
| FileHandle.standardOutput.write(Data("\n".utf8)) |
| /// progress line. Shared because every command needs it, and four hand-rolled | ||
| /// copies of this one line had already accumulated. | ||
| func writeStandardErrorLine(_ message: String) { | ||
| FileHandle.standardError.write(Data((message + "\n").utf8)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Merges
nextintomainfor the 0.20.0 release: 167 commits since the 0.19.0 tag. The user-facing summary isChangelogs/0.20.0.md, which also becomes the GitHub Release body.What ships
SwiftThunkAnalysisproduct, new Capstone dependency, new--dependency-search-path.swift-section objc— objc-section's five commands, moved with byte-identical output.@objc,@objc(selector:),overrideand@objc @implementationrecovered from ObjC method tables in stripped OS frameworks;--infer-objc-overrides(off by default).Builtin.Borrow,@_rawLayout), private discriminators in dyld caches, and a set of interface rendering fixes.MetadataReader→SymbolicDemangler(deprecated alias kept),PrimitiveTypeMappingremoved,FieldLayoutRenderableno longer refines the reader protocol,captureDescription's pointee type,numUnderlyingTypeArugments→numUnderlyingTypeArguments(deprecated forward kept).Release checklist
Sources/swift-section/Version.swift=0.20.0Changelogs/0.20.0.mdpresentImplemented(0037–0050 numbered in this batch)0.7.1, MachOKit0.52.103; floors raised to match0.20.0after merge to trigger the release workflowVerification (local, remote dependencies only)
swift test --skip IntegrationTests, Xcode 26.6): 2094 tests; the only failures are the two known wall-clockSharedCacheTestsassertions (pass when run alone) and one recorded known issue.dumpandinterfaceof AppKit, SwiftUICore and SwiftUI (macOS 27 host cache) and SwiftUI (iOS 26.3.1 cache) are byte-identical before and after.Known issues shipping with this release
Recorded in
Documentations/Internal/ReviewAdjudications.md; the full review isRoadmaps/2026-09-26-release-0.20.0-review-findings.md.0x180000000; seen as a flakyProtocolRecordTestsand once as a SIGBUS in the full suite. Pre-existing; to fix in MachOKitExtensions' next release, with A50 (a negative offset trapping inaddress(forOffset:)).formatVersionis unchanged.