LLVM-INSTALL-NAME-TOOL(1)
π NAME π
Youβre reading the LLVM-INSTALL-NAME-TOOL(1) page from the LLVM manual, bestie β and the main character is llvm-install-name-tool, the LLVM tool for manipulating install-names and rpaths. π
β¨ SYNOPSIS β¨
llvm-install-name-tool [options] input
π¦ DESCRIPTION π¦
Okay so llvm-install-name-tool is a tool to manipulate dynamic shared library install names and rpaths listed in a Mach-O binary. Itβs giving βsurgical little binary editor,β fr fr.
For most scenarios, it works as a drop-in replacement for Appleβs install_name_tool. Iconic behavior, no cap. β¨
π OPTIONS π
At least one of the following options are required, and some options can be combined with other options. The options -add_rpath, -delete_rpath, and -rpath can be combined in an invocation only if they do not share the same <rpath> value. π«Ά
-add_rpath<rpath> β Add an rpath named <rpath> to the specified binary. Can be specified multiple times to add multiple rpaths. Throws an error if <rpath> is already listed in the binary.-change<old_install_name> <new_install_name> β Change an install name <old_install_name> to <new_install_name> in the specified binary. Can be specified multiple times to change multiple dependent shared library install names. Option is ignored if <old_install_name> is not listed in the specified binary.-delete_rpath<rpath> β Delete an rpath named <rpath> from the specified binary. Can be specified multiple times to delete multiple rpaths. Throws an error if <rpath> is not listed in the binary.-delete_all_rpathsβ Deletes all rpaths from the binary.--help,-hβ Print a summary of command line options.-id<name> β Change shared libraryβs identification name underLC_ID_DYLIBto <name> in the specified binary. If specified multiple times, only the last-idoption is selected. Option is ignored if the specified Mach-O binary is not a dynamic shared library.-rpath<old_rpath> <new_rpath> β Change an rpath named <old_rpath> to <new_rpath> in the specified binary. Can be specified multiple times to change multiple rpaths. Throws an error if <old_rpath> is not listed in the binary or <new_rpath> is already listed in the binary.--version,-Vβ Display the version of thellvm-install-name-toolexecutable.
π EXIT STATUS π
llvm-install-name-tool exits with a non-zero exit code if there is an error. Otherwise, it exits with code 0. Slay. β
π BUGS π
To report bugs, please visit https://github.com/llvm/llvm-project/labels/tools:llvm-objcopy/strip/. Do it for the plot, bestie. π«Ά
π SEE ALSO π
Check out llvm-objcopy(1) too β iykyk. π
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). π
π COPYRIGHT π
2003-2023, LLVM Project
Bye bestie π«Ά this page is LLVM-INSTALL-NAME-TOOL(1), version 15, dated 2023-07-14. π
π¦ where this page comes from
- ubuntu jammy: llvm-15 1:15.0.7-0ubuntu0.22.04.3 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms