LLVM-INSTALL-NAME-TOOL(1)

πŸ“¦
version 13.0.1 Β· 5 versions
, in ubuntu jammy

🌸 NAME 🌸

Bestie, welcome to LLVM-INSTALL-NAME-TOOL(1)!! This 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. ✨

For most scenarios, it works as a drop-in replacement for Apple’s install_name_tool. no cap. 🫢

✨ OPTIONS ✨

At least one of the following options are required, and some options can be combined with other options. πŸ‘‘

⚠️ The -add_rpath, -delete_rpath, and -rpath options can be combined in an invocation only if they do not share the same <rpath> value. iykyk.
  • -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 under LC_ID_DYLIB to <name> in the specified binary. If specified multiple times, only the last -id option 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 the llvm-install-name-tool executable. 🌈

🚦 EXIT STATUS 🚦

llvm-install-name-tool exits with a non-zero exit code if there is an error. Otherwise, it exits with code 0. periodt. ✨

πŸ› BUGS πŸ›

To report bugs, please visit <https://bugs.llvm.org/>. πŸ™ˆ

πŸ‘€ SEE ALSO πŸ‘€

llvm-objcopy(1) πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

Maintained by the LLVM Team (https://llvm.org/). πŸ‘‘

2003-2023, LLVM Project πŸ’–

πŸ’– Cute sign-off: source/version is LLVM 13, date is 2023-07-14, and the manual is LLVM-INSTALL-NAME-TOOL(1). Bye bestie β€” go make those Mach-O binaries iconic! πŸ’…βœ¨

πŸ“¦ where this page comes from