METAL-STRIP(1) | Metal | METAL-STRIP(1) |
metal-strip - metal stripping tool
metal-strip [options] filename
The default behavior of metal-strip is to strip out non-public symbols from <filename>. More information can be stripped out by using individual options.
To strip out non-public symbols:
$ metal-strip foo.metallib -o foo-stripped.metallib
To strip out type names as well:
$ metal-strip foo.metallib -T -o foo-stripped.metallib
To strip out debug info:
$ metal-strip foo.metallib -S -o foo-stripped.metallib
To strip out all debug info but line table info:
$ metal-strip foo.metallib -S -debug_line_table -o foo-stripped.metalllib
To report bugs, please visit <https://developer.apple.com/bug-reporting/>.
metal-toolchain(7)
2014-2024, The Metal Team
July 10, 2024 | 32023 |