Skip to content

Support TBD v5 in Mach-O linker #25928

@alexrp

Description

@alexrp

Notably, v5 has a more compact JSON form that we can use for lib/libc/darwin/libSystem.tbd.

For comparison:

❯ llvm-readtapi lib/libc/darwin/libSystem.tbd --filetype=tbd-v4 | wc -c
337439
❯ llvm-readtapi lib/libc/darwin/libSystem.tbd --filetype=tbd-v5 | wc -c
425458
❯ llvm-readtapi lib/libc/darwin/libSystem.tbd --filetype=tbd-v5 -compact | wc -c
258486

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.linkingos-macosmacOS

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions