Files
clang-p2996/llvm/test/tools/llvm-readtapi/Inputs/libSystem.1.yaml
Cyndy Ishida 7189219ec9 [readtapi] Add support for stubify-ing directories (#76885)
When given a directory input `llvm-readtapi` traverses through the
directory to find dylibs or tbd files to operate on. TBD files will be
created with the same base file name as the dylib. Symlinks should be
created if the input is one.

This also introduces options to delete input files which are defined as
library files that existed before `readtapi -stubify` was invoked. Also
the ability to delete private libraries where private libraries are in a
predefined file system locations on darwin based platforms.
2024-02-03 09:33:42 -08:00

44 lines
1.1 KiB
YAML

--- !mach-o
FileHeader:
magic: 0xFEEDFACF
cputype: 0x01000007
cpusubtype: 0x00000003
filetype: 0x00000006
ncmds: 4
sizeofcmds: 136
flags: 0x00100085
reserved: 0x00000000
LoadCommands:
- cmd: LC_ID_DYLIB
cmdsize: 56
dylib:
name: 24
timestamp: 1
current_version: 65536
compatibility_version: 65536
Content: /usr/lib/libSystem.1.dylib
ZeroPadBytes: 4
- cmd: LC_BUILD_VERSION
cmdsize: 32
platform: 1
minos: 658944
sdk: 659200
ntools: 1
Tools:
- tool: 3
version: 32899328
- cmd: LC_BUILD_VERSION
cmdsize: 32
platform: 6
minos: 786432
sdk: 851968
ntools: 1
Tools:
- tool: 3
version: 32899328
- cmd: LC_VERSION_MIN_MACOSX
cmdsize: 16
version: 658944
sdk: 659200
...