File: llvm-install-name-tool.1

package info (click to toggle)
llvm-toolchain-13 1%3A13.0.1-6~deb10u4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,418,792 kB
  • sloc: cpp: 5,290,827; ansic: 996,570; asm: 544,593; python: 188,212; objc: 72,027; lisp: 30,291; f90: 25,395; sh: 24,900; javascript: 9,780; pascal: 9,398; perl: 7,484; ml: 5,432; awk: 3,523; makefile: 2,892; xml: 953; cs: 573; fortran: 539
file content (115 lines) | stat: -rw-r--r-- 3,568 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.\" Man page generated from reStructuredText.
.
.TH "LLVM-INSTALL-NAME-TOOL" "1" "2021-09-18" "13" "LLVM"
.SH NAME
llvm-install-name-tool \- LLVM tool for manipulating install-names and rpaths
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.sp
\fBllvm\-install\-name\-tool\fP [\fIoptions\fP] \fIinput\fP
.SH DESCRIPTION
.sp
\fBllvm\-install\-name\-tool\fP is a tool to manipulate dynamic shared library
install names and rpaths listed in a Mach\-O binary.
.sp
For most scenarios, it works as a drop\-in replacement for Apple’s
\fBinstall_name_tool\fP\&.
.SH OPTIONS
.sp
At least one of the following options are required, and some options can be
combined with other options. Options \fI\%\-add_rpath\fP, \fI\%\-delete_rpath\fP,
and \fI\%\-rpath\fP can be combined in an invocation only if they do not share
the same \fI<rpath>\fP value.
.INDENT 0.0
.TP
.B \-add_rpath <rpath>
Add an rpath named \fB<rpath>\fP to the specified binary. Can be specified multiple
times to add multiple rpaths. Throws an error if \fB<rpath>\fP is already listed in
the binary.
.UNINDENT
.INDENT 0.0
.TP
.B \-change <old_install_name> <new_install_name>
Change an install name \fB<old_install_name>\fP to \fB<new_install_name>\fP in the
specified binary. Can be specified multiple times to change multiple dependent shared
library install names. Option is ignored if \fB<old_install_name>\fP is not listed
in the specified binary.
.UNINDENT
.INDENT 0.0
.TP
.B \-delete_rpath <rpath>
Delete an rpath named \fB<rpath>\fP from the specified binary. Can be specified multiple
times to delete multiple rpaths. Throws an error if \fB<rpath>\fP is not listed in
the binary.
.UNINDENT
.INDENT 0.0
.TP
.B \-delete_all_rpaths
Deletes all rpaths from the binary.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-help, \-h
Print a summary of command line options.
.UNINDENT
.INDENT 0.0
.TP
.B \-id <name>
Change shared library’s identification name under LC_ID_DYLIB to \fB<name>\fP in the
specified binary. If specified multiple times, only the last \fI\%\-id\fP option is
selected. Option is ignored if the specified Mach\-O binary is not a dynamic shared library.
.UNINDENT
.INDENT 0.0
.TP
.B \-rpath <old_rpath> <new_rpath>
Change an rpath named \fB<old_rpath>\fP to \fB<new_rpath>\fP in the specified binary. Can be specified
multiple times to change multiple rpaths. Throws an error if \fB<old_rpath>\fP is not listed
in the binary or \fB<new_rpath>\fP is already listed in the binary.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-version, \-V
Display the version of the \fBllvm\-install\-name\-tool\fP executable.
.UNINDENT
.SH EXIT STATUS
.sp
\fBllvm\-install\-name\-tool\fP exits with a non\-zero exit code if there is an error.
Otherwise, it exits with code 0.
.SH BUGS
.sp
To report bugs, please visit <\fI\%https://bugs.llvm.org/\fP>.
.SH SEE ALSO
.sp
\fBllvm\-objcopy(1)\fP
.SH AUTHOR
Maintained by the LLVM Team (https://llvm.org/).
.SH COPYRIGHT
2003-2021, LLVM Project
.\" Generated by docutils manpage writer.
.