LLVM-LIPO(1)
π NAME π
bestie, meet llvm-lipo β the LLVM tool for manipulating universal binaries. yes, that's a real manual page name, we're doing this. π
β¨ SYNOPSIS β¨
llvm-lipo [filenamesβ¦] [options]
π DESCRIPTION π
okay so llvm-lipo is giving main character energy in three whole ways:
- it can create universal binaries from Mach-O files
- it can extract regular object files from universal binaries
- it can display architecture information about both universal and regular files
that's the whole vibe. she contains multitudes. π¦
π COMMANDS π
heads up bestie: llvm-lipo supports these commands and they are mutually exclusive β you pick one, you don't stack them. one at a time, queen. β
-help,-hβ display usage information and exit. the classic "wait what does this do" move. π-versionβ display the version of this program. show me the numbers. β-verify_arch<architecture 1> [<architecture 2> ...] β take a single input file and verify the specified architectures are present in the file. if they are, exit with a status of0; if not, exit with a status of1. yes/no, slay/fail, no in between. π«Ά-archsβ take a single input file and display the architectures present in the file. each architecture is separated by a single whitespace. unknown architectures get displayed asunknown(CPUtype,CPUsubtype). mystery arch? she still names it. π₯-infoβ take at least one input file and display the descriptions of each file. the descriptions include the filename and architecture types separated by whitespace. universal binaries get grouped together first, followed by thin files. the output looks like this:
Architectures in the fat file: <filename> are: <architectures>
Non-fat file: <filename> is architecture: <architecture>
-thinβ take a single universal binary input file plus the thin flag followed by an architecture type. it requires the output flag to be specified, and it outputs a thin binary of the specified architecture. one arch, zero extra weight. π§-createβ take at least one input file and require the output flag to be specified. outputs a universal binary combining the input files. frankenstein but make it β¨intentionalβ¨.-replaceβ take a single universal binary input file and require the output flag to be specified. the replace flag is followed by an architecture type and a thin input file. outputs a universal binary with the specified architecture slice in the universal binary input replaced with the contents of the thin input file. out with the old slice, in with the new. π-segalignβ an additional flag that can be specified withcreateandreplace. the segalign flag is followed by an architecture type and an alignment. the alignment is a hexadecimal number that is a power of 2. outputs a file in which the slice with the specified architecture has the specified alignment. alignment queen, get your hex right. π
π BUGS π
to report bugs, please visit <https://github.com/llvm/llvm-project/issues/>. they wanna hear it, fr fr. don't suffer in silence bestie.
πΈ AUTHOR πΈ
maintained by the LLVM Team (<https://llvm.org/>). legends, honestly. π
π COPYRIGHT π
2003-2024, LLVM Project
that's the whole page, no cap. this was LLVM-LIPO(1), page 15, dated 2024-04-14, straight from the LLVM source β go forth and manipulate those universal binaries, you absolute icon. πβ¨π¦
π¦ where this page comes from
- ubuntu noble: llvm-16 1:16.0.6-23ubuntu4 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms