LLVM-LIPO(1)
π NAME π
Bestie, meet llvm-lipo: the LLVM tool for manipulating universal binaries. It's giving main character energy in the Mach-O world π
.
β¨ SYNOPSIS β¨
llvm-lipo [filenames...] [options]
π¦ DESCRIPTION π¦
Okay so llvm-lipo can create universal binaries from Mach-O files, extract regular object files from universal binaries, and display architecture information about both universal and regular files. No cap β that's the whole vibe check β¨.
π COMMANDS π
Okay so llvm-lipo supports the following mutually exclusive commands (pick one, bestie β they do not share):
-help,-hβ displays usage information and exits. Iconic little escape hatch β¨.-versionβ displays the version of this program.-verify_arch <architecture 1> [<architecture 2> ...]β takes a single input file and verifies the specified architectures are present in the file. If so, it exits with a status of0; else it exits with a status of1. Vibe check: pass or fail.-archsβ takes a single input file and displays the architectures present in the file. Each architecture is separated by a single whitespace. Unknown architectures are displayed asunknown(CPUtype,CPUsubtype). iykyk.-infoβ takes at least one input file and displays the descriptions of each file. The descriptions include the filename and architecture types separated by whitespace. Universal binaries are grouped together first, followed by thin files.
The output is literally:
Architectures in the fat file: <filename> are: <architectures>
Non-fat file: <filename> is architecture: <architecture>
-thinβ takes a single universal binary input file and the thin flag followed by an architecture type. It requires the output flag to be specified, and outputs a thin binary of the specified architecture.-createβ takes at least one input file and requires the output flag to be specified. It outputs a universal binary combining the input files.-replaceβ takes a single universal binary input file and requires the output flag to be specified. The replace flag is followed by an architecture type and a thin input file. It outputs a universal binary with the specified architecture slice in the universal binary input replaced with the contents of the thin input file.-segalignβ an additional flag that can be specified with-createand-replace. The segalign flag is followed by an architecture type and an alignment. The alignment is a hexadecimal number that is a power of 2. It outputs a file in which the slice with the specified architecture has the specified alignment.
π BUGS π
To report bugs, please visit https://github.com/llvm/llvm-project/issues/. Fr fr, the LLVM team wants the deets π«Ά.
πΈ Author πΈ
Maintained by the LLVM Team (https://llvm.org/). Periodt.
π Copyright π
The copyright is 2003-2026, LLVM Project, and that's iconic longevity π.
Mwah π β signing off from LLVM-LIPO(1): source/version 23, dated 2026-10-20. Stay iconic, bestie π«Άβ¨
π¦ where this page comes from
- arch rolling: llvm 23.1.4-1 Β· Apache-2.0 WITH LLVM-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms