LLVM-INSTALL-NAME-TOOL(1)
β¨ LLVM-INSTALL-NAME-TOOL(1) β¨
okay bestie, welcome to the llvm-install-name-tool page β it lives in section 1 of the LLVM manual and it's literally the girlboss of Mach-O library metadata π
π NAME π
llvm-install-name-tool β the LLVM tool for manipulating install-names and rpaths, no cap π¦
πΈ SYNOPSIS πΈ
llvm-install-name-tool [options] input
π DESCRIPTION π
so llvm-install-name-tool is a tool that manipulates dynamic shared library install names and rpaths listed in a Mach-O binary. it's giving surgeon but for metadata β¨
and for most scenarios?? it works as a drop-in replacement for Apple's install_name_tool. iconic behavior honestly π
β¨ OPTIONS β¨
heads up babes: at least one of the following options is required, and some options can be combined with other options. options-add_rpath,-delete_rpath, and-rpathcan be combined in an invocation only if they do not share the same<rpath>value. so like, play nice π«Ά
-add_rpath<rpath>β adds an rpath named<rpath>to the specified binary. you can specify it multiple times to add multiple rpaths (yes queen, stacking). throws an error if<rpath>is already listed in the binary π-change<old_install_name><new_install_name>β changes 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. this option gets ignored if<old_install_name>is not listed in the specified binary (note: the original page says "specfied", we're just gonna move past that π)-delete_rpath<rpath>β deletes 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. scorched earth, no survivors π₯--help,-hβ prints a summary of command line options. the classic "what do i even do here" button π-id<name>β changes the shared library's identification name underLC_ID_DYLIBto<name>in the specified binary. if specified multiple times, only the last-idoption is selected (last one standing, main character energy). this option is ignored if the specified Mach-O binary is not a dynamic shared library π¦-rpath<old_rpath><new_rpath>β changes 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 if<new_rpath>is already listed in the binary π€--version,-Vβ displays the version of thellvm-install-name-toolexecutable. gotta know what era we're in β
π EXIT STATUS π
llvm-install-name-tool exits with a non-zero exit code if there is an error. otherwise, it exits with code 0. simple as that, slay π
π BUGS π
to report bugs, please visit <https://bugs.llvm.org/> β go tell them everything bestie, they wanna know π«Ά
π SEE ALSO π
π AUTHOR π
maintained by the LLVM Team (https://llvm.org/). periodt π
π COPYRIGHT π
2003-2024, LLVM Project
and that's the whole page, bestie!! this was page 12, dated 2024-07-18, from the LLVM manual β iykyk πβ¨π
π¦ where this page comes from
- fedora 43: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 43: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 44: llvm12 12.0.1-12.fc41 Β· NCSA
- fedora 44: llvm12 12.0.1-12.fc41 Β· NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms