LLVM-LIPO(1)

πŸ’– NAME πŸ’–

Okay so LLVM-LIPO(1) is the LLVM manual page for llvm-lipo β€” literally the LLVM tool for manipulating universal binaries. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

llvm-lipo [filenames...] [options]

✨ DESCRIPTION ✨

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. It’s giving multitasking icon behavior, no cap. 🌈

πŸ’… COMMANDS πŸ’…

llvm-lipo supports the following mutually exclusive commands β€” pick one, bestie, they do not stack:

  • -help, -h β€” Display usage information and exit. Your β€œwhat is happening” button 🫢
  • -version β€” Display the version of this program. Iconic little identity check ✨
  • -verify_arch <architecture 1> [<architecture 2> ...] β€” Take a single input file and verify the specified architectures are present in the file. If so then exit with a status of 0 else exit with a status of 1. Very β€œare they actually in the group chat” energy πŸ’€
  • -archs β€” Take a single input file and display the architectures present in the file. Each architecture is separated by a single whitespace. Unknown architectures are displayed as unknown(CPUtype,CPUsubtype). Cute little roster check πŸŽ€
  • -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 are grouped together first, followed by thin files. The output shapes are literally:
Architectures in the fat file: <filename> are: <architectures>
Non-fat file: <filename> is architecture: <architecture>
  • -thin β€” Take a single universal binary input file and the thin flag followed by an architecture type. Require the output flag to be specified, and output a thin binary of the specified architecture. Slice it, bestie πŸ”ͺ✨
  • -create β€” Take at least one input file and require the output flag to be specified. Output a universal binary combining the input files. Group project but make it binaries 🌸
  • -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. Output a universal binary with the specified architecture slice in the universal binary input replaced with the contents of the thin input file. Swap the slice, keep the vibe πŸ’…
  • -segalign β€” Additional flag that can be specified with create and 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. Output a file in which the slice with the specified architecture has the specified alignment. Alignment queen behavior πŸ‘‘

πŸ› BUGS πŸ›

To report bugs, please visit https://github.com/llvm/llvm-project/issues/. This is your sign to tell the LLVM team, not to suffer in silence, bestie 🫢

πŸ‘‘ AUTHOR πŸ‘‘

Maintained by the LLVM Team (https://llvm.org/). Crown them, they’re doing the work πŸ‘‘βœ¨

2003-2025, LLVM Project


That’s the whole glow-up, bestie! It’s the LLVM source, version 19, dated 2025-01-17 β€” bye πŸ’–βœ¨

πŸ“¦ where this page comes from