Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
1359eb5
docs(release): fold the unreleased 0.18.0 into 0.19.0's changelog
Mx-Iris Sep 8, 2026
af0cd1a
docs(readme): put the file path before --sections in the dump example
Mx-Iris Sep 8, 2026
f3463f5
docs(evolution): add the before/after attribution table to proposal 0020
Mx-Iris Sep 8, 2026
7071ac4
refactor(inspection): rename MetadataReader to SymbolicDemangler and …
Mx-Iris Sep 9, 2026
1c8d858
feat(inspection): read TypeImportInfo and spell C-imported types the …
Mx-Iris Sep 9, 2026
278d387
feat(SwiftDeclaration): carry an ExportStatus on type and protocol de…
Mx-Iris Sep 10, 2026
e478336
refactor(inspection): remove PrimitiveTypeMapping, superseded by Type…
Mx-Iris Sep 10, 2026
4a662b7
Merge branch 'feature/exported-declaration-flag' into next
Mx-Iris Sep 10, 2026
e42b75a
refactor(inspection): spell the realized ObjC class non-optional
Mx-Iris Sep 10, 2026
6fa4c23
feat(MachOSwiftSection): model key path components and property descr…
Mx-Iris Sep 10, 2026
610281e
test(MachOSwiftSection): cover property descriptors across all four s…
Mx-Iris Sep 10, 2026
a94d06d
docs(evolution): record proposal 0025 on property descriptors
Mx-Iris Sep 10, 2026
d8ba19a
docs(evolution): propose the five missing ABI structures batch
Mx-Iris Sep 10, 2026
34301c7
feat(MachOSwiftSection): model async and coro function pointer records
Mx-Iris Sep 10, 2026
fff6745
test(MachOSwiftSection): cover async and coro function pointer records
Mx-Iris Sep 10, 2026
d3e7732
feat(MachOSwiftSection): read __swift5_acfuncs accessible function re…
Mx-Iris Sep 10, 2026
22887a2
test(MachOSwiftSection): cover accessible function records
Mx-Iris Sep 10, 2026
3307516
feat(MachOSwiftSection): read __swift5_capture descriptors
Mx-Iris Sep 10, 2026
c823e07
test(MachOSwiftSection): cover capture descriptors and their records
Mx-Iris Sep 10, 2026
e355f19
feat(MachOSwiftSection): model the generic metadata pattern family
Mx-Iris Sep 10, 2026
372b4f5
test(MachOSwiftSection): cover generic metadata patterns
Mx-Iris Sep 10, 2026
4ba133a
feat(MachOSwiftSection): model function type metadata's trailing objects
Mx-Iris Sep 10, 2026
184a25e
test(MachOSwiftSection): cover function type metadata's trailing objects
Mx-Iris Sep 10, 2026
b49a00c
docs(evolution): record proposal 0026 on the five missing ABI structures
Mx-Iris Sep 10, 2026
296f192
fix(indexing): file a C-imported type's synthetic extension under its…
Mx-Iris Sep 10, 2026
34755b9
refactor(MachOSwiftSection): read layout fields through what already …
Mx-Iris Sep 11, 2026
da5f46e
test(MachOSwiftSection): follow the model surface down
Mx-Iris Sep 11, 2026
ef53f17
docs(evolution): record the layout-access cleanup on proposal 0026
Mx-Iris Sep 11, 2026
1f55e73
feat(macros): add @LocatableLayoutWrapping for the wrapper boilerplate
Mx-Iris Sep 11, 2026
43317af
refactor(MachOSwiftSection): let the macro carry the wrapper boilerplate
Mx-Iris Sep 11, 2026
a85b172
fix(rendering): collect an opaque type's generic arguments from .chil…
Mx-Iris Sep 11, 2026
efb0c88
docs(evolution): record proposal 0027 on the wrapper boilerplate macro
Mx-Iris Sep 11, 2026
246526e
feat(rendering): add a seam for resolving accessor-function references
Mx-Iris Sep 11, 2026
40a49e3
feat(thunk-analysis): read a kind-9 accessor thunk without executing it
Mx-Iris Sep 11, 2026
217f6d9
docs(evolution): record proposal 0028 on accessor-thunk resolution
Mx-Iris Sep 11, 2026
bd28ea7
feat(rendering): keep an unread accessor reference inside its type an…
Mx-Iris Sep 12, 2026
634fee7
feat(rendering): resolve a kind-9 witness in-process by asking the ru…
Mx-Iris Sep 12, 2026
4947d83
feat(SwiftDeclaration): carry an availability-conditional witness's o…
Mx-Iris Sep 12, 2026
1ad75d2
docs(evolution): close proposal 0028's follow-up batch
Mx-Iris Sep 12, 2026
70d7e02
Merge branch 'feature/accessor-thunk-resolution-follow-up' into next
Mx-Iris Sep 12, 2026
09c0845
feat(thunk-analysis): decode stack traffic, authenticated returns and…
Mx-Iris Sep 12, 2026
1b1b60a
feat(thunk-analysis): read a type-construction thunk by symbolic eval…
Mx-Iris Sep 12, 2026
b9df1e8
feat(rendering): resolve a kind-9 field record's type offline through…
Mx-Iris Sep 12, 2026
44fd33c
docs(evolution): record proposal 0029 on type-construction evaluation
Mx-Iris Sep 12, 2026
8855cb2
Merge branch 'feature/accessor-thunk-resolution-follow-up' into next
Mx-Iris Sep 12, 2026
def19c9
refactor(thunk-analysis): make SwiftThunkAnalysis a direct dependency…
Mx-Iris Sep 12, 2026
4024a87
docs(evolution): record dropping the ThunkAnalysis trait for a direct…
Mx-Iris Sep 12, 2026
4d55808
Merge branch 'feature/thunk-analysis-direct-dependency' into next
Mx-Iris Sep 12, 2026
c20413f
feat(rendering): list every branch of an availability-conditional wit…
Mx-Iris Sep 12, 2026
d7cd1f4
docs(evolution): record the branch comments in proposal 0028 and the …
Mx-Iris Sep 12, 2026
b0c5fd0
docs: add a plain-language explainer for accessor-thunk resolution
Mx-Iris Sep 12, 2026
3621060
Merge branch 'feature/conditional-witness-comments' into next
Mx-Iris Sep 12, 2026
f75c66c
refactor(pointers): accept any relative pointer in resolvedDirectOffset
Mx-Iris Sep 13, 2026
11fc19a
fix(indexing): skip a null method implementation, never abandon the type
Mx-Iris Sep 13, 2026
ba2e77b
refactor(dump): read implementation offsets through implementationOffset
Mx-Iris Sep 13, 2026
5192e1d
docs: record resolvedDirectOffset's widened input and the named-offse…
Mx-Iris Sep 13, 2026
48a3860
test(integration): point the dyld-cache interface check at SwiftUI
Mx-Iris Sep 13, 2026
a7db2e4
feat(thunk-analysis): read accessor thunks in standalone Mach-O files
Mx-Iris Sep 13, 2026
5023f90
docs: record the standalone-file thunk resolution batch
Mx-Iris Sep 13, 2026
3658a33
feat(thunk-analysis): follow a call into a merged accessor's body
Mx-Iris Sep 13, 2026
a6a7bf4
docs: record the merged-accessor inline evaluation batch
Mx-Iris Sep 13, 2026
1aebc30
feat(thunk-analysis): classify cache trampolines anywhere, refuse unm…
Mx-Iris Sep 13, 2026
3e04f48
docs: record the cache stub-island batch
Mx-Iris Sep 13, 2026
280c612
feat(rendering): expand an opaque reference that names another image'…
Mx-Iris Sep 13, 2026
b140964
docs: record the by-name opaque reference batch and add the progress …
Mx-Iris Sep 13, 2026
90541b3
Merge branch 'feature/standalone-file-thunk-resolution' into next
Mx-Iris Sep 13, 2026
3936e64
Merge branch 'feature/merged-accessor-inline-evaluation' into next
Mx-Iris Sep 13, 2026
c385f94
Merge branch 'feature/cache-stub-islands' into next
Mx-Iris Sep 13, 2026
66ef730
Merge branch 'feature/dump-by-name-opaque-expansion' into next
Mx-Iris Sep 13, 2026
fb2a6d7
docs(evolution): number proposals 0030–0033 at landing and mark them …
Mx-Iris Sep 13, 2026
91b8210
chore(swift-syntax): regenerate the precompiled aggregation package a…
Mx-Iris Sep 14, 2026
cd5fbdf
chore: reference the sibling checkouts and macOS 27.0's released cache
Mx-Iris Sep 14, 2026
c4326a9
docs: slim AGENTS.md down to the defaults an agent gets wrong by default
Mx-Iris Sep 14, 2026
52b827e
refactor(rendering): stop FieldLayoutRenderable from refining the rea…
Mx-Iris Sep 14, 2026
078b3f4
docs: record the FieldLayoutRenderable decoupling batch
Mx-Iris Sep 14, 2026
eb79290
fix(printing): render the node kinds SwiftPrinting was silently dropping
Mx-Iris Sep 14, 2026
c8c4252
docs: record the printer node kind parity batch
Mx-Iris Sep 14, 2026
70fb5b2
fix(printing): recover `each` on parameter packs
Mx-Iris Sep 15, 2026
1e6bb30
docs: record the repeat-each recovery
Mx-Iris Sep 15, 2026
3d1f5c5
fix(printing): read the pack from the expansion's count type
Mx-Iris Sep 15, 2026
aad54a3
fix(printing): recover `each` for several packs under one expansion
Mx-Iris Sep 15, 2026
7014e18
docs: record the multi-pack recovery and its measured boundary
Mx-Iris Sep 15, 2026
9c281d4
fix(printing): spell pack constraints `where repeat each A: P`
Mx-Iris Sep 15, 2026
0f5694c
docs: assign proposal number 0034 at landing
Mx-Iris Sep 15, 2026
eeb2030
Merge branch 'feature/printer-node-kind-parity' into next
Mx-Iris Sep 15, 2026
e6122fc
build: adapt the release script and test targets to SwiftPM 6.4's Swi…
Mx-Iris Sep 16, 2026
257f132
feat(abi,layout): read Builtin.Borrow metadata and lay it out statica…
Mx-Iris Sep 16, 2026
1120e18
feat(rendering,layout): treat Swift 6.4's raw-layout artificial field…
Mx-Iris Sep 16, 2026
ffb2e3e
fix(printing): leave every artificial field record out of the interface
Mx-Iris Sep 16, 2026
f160cec
feat(printing): hide a wrapped property's compiler-synthesized member…
Mx-Iris Sep 16, 2026
268159b
feat(printing): spell @Wrapper on wrapped properties; recover @_rawLa…
Mx-Iris Sep 16, 2026
01fe2f8
feat(indexing): recover wrapped properties at index time; recognize w…
Mx-Iris Sep 17, 2026
c8aae55
refactor(declaration): put only definitions in Definitions/, and spli…
Mx-Iris Sep 17, 2026
54a6186
fix(scripts): point the A/B rendering verification at the archive's c…
Mx-Iris Sep 17, 2026
a3ff2c4
refactor(declaration): name the two offsets apart in the symbol wrapper
Mx-Iris Sep 17, 2026
7d42993
refactor: spell single-use generic parameters as opaque parameters
Mx-Iris Sep 18, 2026
044f69d
fix(interface): find an opaque parameter by coordinate, not by position
Mx-Iris Sep 18, 2026
da2f17c
refactor(cli): run the accessor-thunk resolver scope on the caller's …
Mx-Iris Sep 18, 2026
cd83864
docs: the CLI attaches the opaque provider only under --parse-opaque-…
Mx-Iris Sep 18, 2026
2643287
fix(interface): superclass and full-type arguments in opaque constraints
Mx-Iris Sep 18, 2026
ca2a570
refactor(abi): fix the spelling of numUnderlyingTypeArguments
Mx-Iris Sep 18, 2026
72b5c5f
feat(rendering): @_opaqueReturnTypeOf fallback, opaque member projection
Mx-Iris Sep 18, 2026
829667b
docs: translate the Opaque Result Types chapter and log the opaque ba…
Mx-Iris Sep 18, 2026
9698cb8
fix(scripts): point the rendering A/B verification at the renamed 26.…
Mx-Iris Sep 19, 2026
d4fda0f
refactor(printing): add a member-declaration printable layer and spli…
Mx-Iris Sep 19, 2026
927a8d0
Merge branch 'feature/node-printer-declaration-layer' into next
Mx-Iris Sep 19, 2026
b70cbf4
refactor(printing): make the node printers generic over their target,…
Mx-Iris Sep 19, 2026
f6120d8
perf(printing): hoist the printers' declarationNodeKinds literals to …
Mx-Iris Sep 19, 2026
584f1ff
feat(inspection): index @objc @implementation classes from the ObjC c…
Mx-Iris Sep 20, 2026
4a37760
feat(declaration,indexing): attach @objc @implementation facts to the…
Mx-Iris Sep 20, 2026
0161c9d
feat(printing): render @objc @implementation extensions with their st…
Mx-Iris Sep 20, 2026
0cab9d4
feat(dump): add the objcImplementationClasses section
Mx-Iris Sep 20, 2026
4d9d53a
test: pin @objc @implementation recognition on a compiled fixture and…
Mx-Iris Sep 20, 2026
033229f
fix(inspection): count only an EXPORTED metadata accessor as @objc @i…
Mx-Iris Sep 20, 2026
af05e7b
docs: propose and document @objc @implementation class recognition
Mx-Iris Sep 20, 2026
e273bb8
refactor(inspection): move NodeTypeNaming down to SwiftInspection
Mx-Iris Sep 20, 2026
525eb6b
feat(inspection): ObjC class hierarchies, the host-provider seam, and…
Mx-Iris Sep 20, 2026
1794b5d
feat(thunk-analysis): join ObjC-ancestor overrides to Swift members, …
Mx-Iris Sep 20, 2026
4c8643c
feat(declaration,indexing): carry ObjC-ancestor override facts on mem…
Mx-Iris Sep 20, 2026
9e1b94f
docs(references): add the full Chinese translation of Compiling Swift…
Mx-Iris Sep 20, 2026
f1223c7
feat(dump): name the ObjC ancestor chain and the overridden selectors
Mx-Iris Sep 20, 2026
28f5997
test: pin ObjC-ancestor override recovery on the fixture and on AppKit
Mx-Iris Sep 20, 2026
812fc5a
docs: propose and document ObjC-ancestor override recovery
Mx-Iris Sep 20, 2026
79df557
docs(evolution): mark the two @objc proposals Implemented as they mer…
Mx-Iris Sep 20, 2026
74c4eb2
Merge branch 'feature/objc-ancestor-override-recovery' into next
Mx-Iris Sep 20, 2026
9d4254e
docs(evolution): propose ObjC member selector recovery
Mx-Iris Sep 21, 2026
c031f6f
feat(objc): tie every ObjC method-table entry to its Swift member
Mx-Iris Sep 21, 2026
9baa6b3
docs: document ObjC member recovery and mark its proposal Implemented
Mx-Iris Sep 21, 2026
f66800d
docs(evolution): propose resolving ObjC ancestors through the depende…
Mx-Iris Sep 21, 2026
3af3ef8
docs(report): record the A/B render timings of the ObjC member recovery
Mx-Iris Sep 21, 2026
9149d89
scripts(ab): render pairs concurrently, cache the baseline side, filt…
Mx-Iris Sep 21, 2026
758314f
feat(objc): follow a standalone file's bound ancestors through its de…
Mx-Iris Sep 21, 2026
a37d0f5
build(deps): pin swift-capstone at exactly 5.0.0
Mx-Iris Sep 22, 2026
643bc61
fix(cli,testing): resolve cache images through the full cache
Mx-Iris Sep 22, 2026
7968dff
test(interface): drive the cache leg from SwiftUICore in the host cache
Mx-Iris Sep 22, 2026
ac43b29
feat(objc): expose the name-only override inference as a per-image sw…
Mx-Iris Sep 22, 2026
55a01ce
Merge branch 'feature/objc-ancestor-dependency-closure' into next
Mx-Iris Sep 22, 2026
e0115f6
build: sort each target's dependency list
Mx-Iris Sep 22, 2026
b3e93a8
refactor(objc): always index the name-only tier, let the printer rule
Mx-Iris Sep 22, 2026
4d7d62f
fix(rendering): drop the runtime's anonymous contexts from specialize…
Mx-Iris Sep 23, 2026
a35daff
Merge branch 'fix/runtime-anonymous-context-names' into next
Mx-Iris Sep 23, 2026
f786458
fix(printing): name a type declared in another module's extension thr…
Mx-Iris Sep 23, 2026
600424c
Merge branch 'fix/extension-context-type-names' into next
Mx-Iris Sep 23, 2026
95aae4e
feat(cli): add the objc subcommand group, moved from objc-section
Mx-Iris Sep 23, 2026
0cac456
test(cli): bring objc-section's command tests along and run them in CI
Mx-Iris Sep 23, 2026
a65728f
docs: document swift-section objc and close out proposal 0036
Mx-Iris Sep 23, 2026
18e54e9
Merge branch 'feature/objc-subcommands' into next
Mx-Iris Sep 23, 2026
ffbcf59
feature(layout): expose proven nested field extents
Mx-Iris Sep 23, 2026
0748b37
feature(layout): integrate nested field extents into next
Mx-Iris Sep 24, 2026
fe681d3
fix(inspection): recover private discriminators from _symbolic symbols
Mx-Iris Sep 24, 2026
8d2eb25
feat(symbols): index _symbolic symbols and pair their referents
Mx-Iris Sep 24, 2026
5cbf037
Merge branch 'feature/symbolic-mangling-symbol-index' into next
Mx-Iris Sep 24, 2026
6a324b8
docs(review): record the ffbcf5964 nested field extent review finding…
Mx-Iris Sep 24, 2026
9e6b93c
fix(thunk-analysis): preserve decoding with Capstone v6
Mx-Iris Sep 25, 2026
31d29a1
docs: link the delivered nested field proposal
Mx-Iris Sep 25, 2026
9a87a96
fix(printing): print a conformance's protocol with the interface type…
Mx-Iris Sep 25, 2026
ad56462
Merge branch 'fix/conformance-protocol-name-semantics' into next
Mx-Iris Sep 25, 2026
5d44a0e
fix(inspection): skip a symbol whose value is no offset instead of tr…
Mx-Iris Sep 26, 2026
46a6810
ci: run the renamed demangling suite again and check the filter's names
Mx-Iris Sep 26, 2026
b8e2c59
test: follow the three suites the full run had been leaving red
Mx-Iris Sep 26, 2026
684dff2
fix(cli): import ObjCMetadataSource where its conformance is used
Mx-Iris Sep 26, 2026
1780ba3
build(deps): raise the swift-demangling floor to 0.7.1
Mx-Iris Sep 26, 2026
597d72a
docs: number the 14 landed proposals and record the 0.20.0 release re…
Mx-Iris Sep 26, 2026
deca818
build(deps): raise the MachOKit floor to 0.52.103
Mx-Iris Sep 26, 2026
1ae9dad
docs: record the MachOKit crash fix and the cache misclassification
Mx-Iris Sep 26, 2026
19dd6a5
release: 0.20.0
Mx-Iris Sep 26, 2026
91beb6e
Merge branch 'release/0.20.0' into next
Mx-Iris Sep 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ jobs:
-c ${{ matrix.configuration }} \
--enable-experimental-prebuilts \
--build-path .build-test-${{ matrix.configuration }} \
--filter '\.(SymbolTestsCoreDumpSnapshotTests|SymbolTestsCoreInterfaceSnapshotTests|SymbolTestsCoreCoverageInvariantTests|STCoreE2ETests|STCoreTests|GenericSpecializationTests|MultiPayloadEnumTests|MetadataReaderDemanglingTests|DependencyLoadNameTests|DependencyClosureTests|FileDependencyLocatorTests|SwiftInterfaceBuilderDependenciesTests|ManglingPrefixTests|MethodDescriptorTests|MethodOverrideDescriptorTests|MethodDefaultOverrideDescriptorTests|ProtocolRequirementTests|ResilientWitnessTests|LargeStackTaskExecutionTests|BoundedConcurrentMapTests|SwiftEvolutionInterfaceBuilderTests|EvolutionCommandValidationTests|DiffCommandValidationTests)(/|$)'
--filter '\.(SymbolTestsCoreDumpSnapshotTests|SymbolTestsCoreInterfaceSnapshotTests|SymbolTestsCoreCoverageInvariantTests|STCoreE2ETests|STCoreTests|GenericSpecializationTests|MultiPayloadEnumTests|SymbolicDemanglerDemanglingTests|MalformedSymbolValueTests|ContinuousIntegrationTestFilterTests|DependencyLoadNameTests|DependencyClosureTests|FileDependencyLocatorTests|SwiftInterfaceBuilderDependenciesTests|ManglingPrefixTests|MethodDescriptorTests|MethodOverrideDescriptorTests|MethodDefaultOverrideDescriptorTests|ProtocolRequirementTests|ResilientWitnessTests|LargeStackTaskExecutionTests|BoundedConcurrentMapTests|SwiftEvolutionInterfaceBuilderTests|EvolutionCommandValidationTests|DiffCommandValidationTests|ObjCSectionCommandTests|ObjCAPICommandParsingTests|ObjCDumpDiagnosticsTests)(/|$)'
677 changes: 219 additions & 458 deletions AGENTS.md

Large diffs are not rendered by default.

30 changes: 0 additions & 30 deletions Changelogs/0.18.0.md

This file was deleted.

57 changes: 37 additions & 20 deletions Changelogs/0.19.0.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,55 @@
# 0.19.0

A minor release on top of `0.18.0`, carrying two independent pieces of work. Two output-neutral performance changes (evolution proposal 0019): the library's async entry points now run on swift-demangling's large-stack task executor, and multi-version preparation (`diff` / `evolution`) is parallel — implementation note `Documentations/Internal/LargeStackTaskExecutorAdoption.md`. And one correctness fix that **does change rendered output** (evolution proposal 0020): a class vtable slot is attributed by its method descriptor's own symbol rather than by the symbols at its implementation address, which identical code folding makes ambiguous.
A minor release on top of `0.17.1`, carrying three pieces of work: the ABI model no longer drags in the symbol index and the demangler (source-breaking — the migration list is below), `dump` and `interface` got 17–23% faster, and a class's vtable members are attributed correctly when the linker has folded several method bodies onto one address. There is no `0.18.0` release; everything written under that number ships here.

## What changed
## What's new

1. **Async entry points run on a 16 MB task executor.** The demangler decides per call whether to hop to its 8 MB pool by probing the calling thread's remaining stack; Swift Concurrency's cooperative threads carry 512 KB, so an async print loop paid one thread round trip per printed symbol. `MachOSymbols.LargeStackTaskExecution.run` sets swift-demangling 0.6.3's `LargeStackTaskExecutor` as the task executor preference around every library entry — indexer `prepare()`, `SwiftInterfaceBuilder.prepare()` / `printRoot()`, `SwiftDiffableInterfaceBuilder.prepare()`, the evolution builder's `prepare` / render entries, the diff renderer, the printer's four per-definition entries and the six `Dumpable.dump(using:in:)` conformers — so the whole pipeline demangles, prints and remangles inline. Hosts change nothing. Requires macOS 15 / iOS 18 / tvOS 18 / watchOS 11 / visionOS 2 at runtime; below that (or off Darwin) the body runs exactly as before. `LargeStackTaskExecution.isEnabled` (seeded by `MACHO_SWIFT_SECTION_LARGE_STACK_EXECUTOR=0`) turns it off process-wide.
2. **Cross-version preparation is parallel.** `AnySwiftEvolutionInterfaceBuilder.prepare(maximumConcurrentPreparations:)` (and the pack-generic façade) indexes the versions concurrently, defaulting to the processor count; `1` is the former oldest-first serial order. `swift-section diff` and `swift-section evolution` index their inputs the same way and gained `--jobs N`. The result is byte-identical to serial preparation; only event delivery interleaves. Intra-version parallelism is out of scope (MachOKit's file reads share one `FileHandle`).
3. **`Collection.concurrentMap(maximumConcurrency:_:)`** (`Utilities`): a windowed task-group map — source-ordered results, first failure rethrown, pending elements never started; cancelling the calling task stops submission and fails the call with `CancellationError`.
4. **Event delivery is serialized process-wide.** `SwiftIndexEvents.Dispatcher` takes one recursive lock around handler invocation, so a host handler shared by concurrently prepared versions is never entered concurrently (`Handler` still has no `Sendable` requirement).
5. **Labeled console diagnostics.** `ConsoleEventHandler(label:)` prints `[label]` after the timestamp; `diff` tags its sides `old` / `new`, `evolution` tags each version with its axis label (`AnySwiftEvolutionInterfaceBuilder.init` gained `eventHandlersPerVersion:`), snapshot inputs use their provenance label or file name. stderr only.
6. `MACHO_SWIFT_SECTION_LARGE_STACK_EXECUTOR` accepts `0` / `false` / `no` / `off` (case-insensitive) as off; anything else, or unset, is on.
7. **Vtable slots are attributed by their method descriptor's symbol.** Which member a class vtable slot belongs to used to be read from the symbols at the slot's implementation address — a mapping identical code folding destroys, since the linker merges every byte-identical body onto one address (SwiftUICore's empty-`ret` address carries 2878 symbols). `SwiftUI.GraphHost`'s four folded vtable methods printed as one correct name plus three coroutine resume functions of its *nested* `GraphHost.Data` struct. Attribution now reads the descriptor's own `Tq` method-descriptor symbol — one per member, at the descriptor's own address, so folding cannot reach it — and falls back to the implementation address only for the slots that carry no `Tq` (~28%), annotating that fallback when it lands on a folded address instead of presenting a guess as fact. The same evidence order is mirrored in the interface path, so its vtable-offset comments agree. Candidate matching in the fallback now goes through the member's direct declaration context, which stops a nested type's member from being accepted as the enclosing class's own. A slot whose implementation pointer is null is annotated rather than rendered as a bare lookup failure: dead-method elimination removed the body while the slot stayed for layout. Measured on SwiftUICore (iOS 18.5 arm64): 828 declaration lines change, all 7 nested-type bleeds gone with none introduced, `Symbol not found` 358 → 0, and no line regressed from a name to a `sub_` address.
- **Reading ABI descriptors no longer builds the image's symbol index.** `MachOSwiftSection` now depends on `MachOBase` alone — no symbol index, no demangler — so touching a method descriptor's implementation pointer costs pointer arithmetic instead of demangling every symbol in the image on first access. Symbol attribution moved one layer up, to `SwiftInspection`. Two new library products come with the split: `MachOBase` (readers, resolvers, pointers) and `MachOFoundation` (that plus the symbol index and dependency resolution).
- **`dump` and `interface` are faster with no flags to set.** The speedup comes from where the demangler runs, so it applies to every reader path and every output style. It needs macOS 15 / iOS 18 (or the aligned tvOS 18 / watchOS 11 / visionOS 2) at runtime; below that, and off Darwin, everything behaves as in `0.17.1`.
- **`--jobs N`** (`diff`, `evolution`) — how many versions to index at once. Defaults to the processor count; `--jobs 1` restores the previous one-at-a-time order. Results are identical either way. In the library it is `prepare(maximumConcurrentPreparations:)`.
- **Console diagnostics name their input.** `diff` prefixes its lines `[old]` / `[new]`, `evolution` prefixes each version's label, so a warning from a five-version run is attributable. stderr only, as before.
- **`MACHO_SWIFT_SECTION_LARGE_STACK_EXECUTOR=0`** turns the faster path off process-wide, for a host that manages its own task executor. `0` / `false` / `no` / `off` all mean off; anything else, or unset, means on.

## Fixes

- **A class's vtable members no longer borrow a nested type's names.** Identical code folding merges byte-identical method bodies onto one address — SwiftUICore has one carrying 2878 symbols — and a member's name used to be read from there, so `SwiftUI.GraphHost` printed three of its nested `GraphHost.Data`'s coroutine resume functions as its own methods. Names now come from each member's own method-descriptor symbol, which folding cannot reach. On SwiftUICore (iOS 18.5 arm64): 828 declaration lines change, all 7 nested-type bleeds are gone with none introduced, and `Symbol not found` drops from 358 to 0.
- **Two new comments where a name cannot be trusted.** The ~28% of slots carrying no method-descriptor symbol still fall back to the implementation address; when that address is folded, the output now says so (`// Attribution: ambiguous — N symbols folded at this address`) rather than presenting a guess as fact. A slot whose body was removed by dead-method elimination is annotated instead of failing to resolve. Both comments are always on; their wording and the `N` count are being tuned for the next release.

## Breaking

Source level — this package is distributed as source, so every downstream recompiles:

- `descriptor.implementationSymbols(in: machO)` — drop the `try`, add `import SwiftInspection`.
- `descriptor.implementationSymbols(in: context)` — removed. Use `try descriptor.implementationAddress(in: context)` for the location.
- `Symbols.resolve(from:in:)` — removed. Call `machO.symbols(offset:)` (`MachOSymbols`).
- `symbols(offset:) async` — removed. It was identical to the synchronous form, and an `async` caller bound to it and then demanded `await`.
- `MachOSymbols.Symbol` / `.Symbols` / `.SymbolOrElement` — now `MachOResolving.…`, or unqualified.
- `import MachOSymbolPointers` — remove it; `SymbolOrElementPointer` lives in `MachOPointers`.
- `ResilientWitness.implementationOffset` is `Int?`, and `implementationAddress(in:)` returns `String?`.
- A file that reached `SymbolIndexStore`, `DemangledSymbol` or `DependencyClosure` through `import MachOSwiftSection` alone now needs `import MachOFoundation`, **and its target must declare that product** (`.product(name: "MachOFoundation", package: "MachOSwiftSection")`). Those types used to arrive through a re-export, so no product existed for them — and reaching a module through the build directory without declaring it works by accident in a monolithic SwiftPM build, then fails under explicit modules.

## Measured

Release binaries, host dyld cache (macOS 26.5.2, 10-core Apple Silicon), two runs each; outputs byte-identical across every configuration.
Release build, host dyld shared cache, macOS 26.5.2 on a 10-core Apple Silicon Mac.

| Configuration | SwiftUICore dump | SwiftUICore interface | SwiftUI dump | SwiftUI interface |
|---|---|---|---|---|
| 0.18.0 (swift-demangling 0.6.0) | 48.8 s / 48.6 s | 56.4 s / 57.0 s | 79.4 s / 79.9 s | 87.5 s / 89.4 s |
| 0.19.0, executor off | 48.6 s / 48.7 s | 56.4 s / 55.7 s | 78.0 s / 79.7 s | 88.4 s / 89.7 s |
| 0.19.0, executor on (default) | **40.6 s / 40.4 s** | **47.0 s / 47.1 s** | **61.3 s / 60.2 s** | **71.2 s / 70.9 s** |
| | SwiftUICore | SwiftUI |
|---|---|---|
| `dump` | 48.8 s → 40.6 s | 79.4 s → 61.3 s |
| `interface` | 56.4 s → 47.0 s | 87.5 s → 71.2 s |

`swift-section evolution` over three archived SwiftUI caches (macOS 15.5 / 26.5.2 / 27.0 beta 6): `--interface` 306.7 s → 151.9 s, lineage report 282.4 s → 139.4 s (executor off + `--jobs 1` → executor on + default parallelism), identical output.
`evolution` over three archived SwiftUI caches (macOS 15.5 / 26.5.2 / 27.0 beta 6) roughly halves with the default `--jobs`: `--interface` 307 s → 152 s, lineage report 282 s → 139 s.

## Compatibility

- Additive at the source level: no existing signature changed; `prepare()` keeps working through the new parameter's default.
- **Dependency floor**: swift-demangling `0.6.3 ..< 0.7.0` (was `0.6.0 ..< 0.7.0`). 0.6.1 re-ranked the demangler's pool QoS per hop and slowed `dump` / `interface` 3–4×; 0.6.2 fixed that; 0.6.3 adds the executor. Other pins unchanged.
- Rendered output is byte-identical **for the executor and parallelism changes** (dump and interface, verified with the rendering A/B harness, executor on and off). The vtable attribution fix deliberately changes output: slot names that were wrong under identical code folding are now right, and null-implementation slots carry a new comment. Anything diffing this release's `dump` / `interface` against 0.18.0's should expect those lines to move.
- Known rough edges in the new comments, tracked for the next release (`Roadmaps/2026-09-06-pr123-review-findings.md`): the null-implementation comment's wording overstates the cause (the declaration survives; only the body was eliminated), the ambiguity comment's count is the raw folded-symbol total rather than the number of candidates belonging to the type, and neither comment has a configuration switch yet.
- **`dump` / `interface` output changes** in two places, both deliberate: the vtable attribution fix above, and — only under `--emit-member-addresses` — a resilient witness with a null implementation pointer no longer gets an address comment (the old line printed the pointer field's own position as if it were code). Everything else is byte-identical to `0.17.1`, verified with the rendering A/B harness.
- **Dependency floor**: swift-demangling `0.6.3 ..< 0.7.0` (was `0.6.0 ..< 0.7.0`). Do not pin 0.6.1 — it slowed `dump` / `interface` 3–4× and 0.6.2 fixed it. Other pins unchanged from `0.17.1`.
- Snapshot `formatVersion` unchanged.

## Requirements

- Swift 6.2+
- Xcode 26.0+

---

Full design and measurements: evolution proposals [0018](https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection/blob/0.19.0/Documentations/Evolutions/0018-self-contained-abi-layer.md), [0019](https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection/blob/0.19.0/Documentations/Evolutions/0019-large-stack-executor-and-cross-version-parallelism.md) and [0020](https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection/blob/0.19.0/Documentations/Evolutions/0020-vtable-slot-attribution-via-method-descriptor-symbols.md); implementation notes [SelfContainedABILayer.md](https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection/blob/0.19.0/Documentations/Internal/SelfContainedABILayer.md) and [LargeStackTaskExecutorAdoption.md](https://github.com/MxIris-Reverse-Engineering/MachOSwiftSection/blob/0.19.0/Documentations/Internal/LargeStackTaskExecutorAdoption.md).
Loading
Loading