1LLVM-LIPO(1)                         LLVM                         LLVM-LIPO(1)
2
3
4

NAME

6       llvm-lipo - LLVM tool for manipulating universal binaries
7

SYNOPSIS

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

DESCRIPTION

12       llvm-lipo can create universal binaries from Mach-O files, extract reg‐
13       ular object files from universal binaries, and display architecture in‐
14       formation about both universal and regular files.
15

COMMANDS

17       llvm-lipo supports the following mutually exclusive commands:
18
19       -help, -h
20              Display usage information and exit.
21
22       -version
23              Display the version of this program.
24
25       -verify_arch <architecture 1> [<architecture 2> ...]
26              Take  a single input file and verify the specified architectures
27              are present in the file.  If so then exit with  a  status  of  0
28              else exit with a status of 1.
29
30       -archs Take  a  single input file and display the architectures present
31              in the file.  Each architecture is separated by a single  white‐
32              space.     Unknown    architectures   are   displayed   as   un‐
33              known(CPUtype,CPUsubtype).
34
35       -info  Take at least one input file and  display  the  descriptions  of
36              each  file.  The descriptions include the filename and architec‐
37              ture types separated  by  whitespace.   Universal  binaries  are
38              grouped  together  first, followed by thin files.  Architectures
39              in the fat file: <filename> are: <architectures>  Non-fat  file:
40              <filename> is architecture: <architecture>
41
42       -thin  Take a single universal binary input file and the thin flag fol‐
43              lowed by an architecture type.  Require the output  flag  to  be
44              specified,  and  output a thin binary of the specified architec‐
45              ture.
46
47       -create
48              Take at least one input file and require the output flag  to  be
49              specified.  Output a universal binary combining the input files.
50
51       -replace
52              Take a single universal binary input file and require the output
53              flag to be specified.  The replace flag is followed by an archi‐
54              tecture  type, and a thin input file.  Output a universal binary
55              with the specified architecture slice in  the  universal  binary
56              input replaced with the contents of the thin input file.
57
58       -segalign
59              Additional  flag  that can be specified with create and replace.
60              The segalign flag is followed by an architecture  type,  and  an
61              alignment.   The  alignment  is  a  hexadecimal number that is a
62              power of 2.  Output a file in which the slice with the specified
63              architecture has the specified alignment.
64

BUGS

66       To         report         bugs,         please         visit         <‐
67       https://github.com/llvm/llvm-project/issues/>.
68

AUTHOR

70       Maintained by the LLVM Team (https://llvm.org/).
71
73       2003-2023, LLVM Project
74
75
76
77
7814                                2023-07-20                      LLVM-LIPO(1)
Impressum