xref: /freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/InstallNameToolOpts.td (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1//===-- InstallNameToolOpts.td - llvm-install-name-tool options  --------*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file describes the command line options of llvm-install-name.
10//
11//===----------------------------------------------------------------------===//
12
13include "llvm/Option/OptParser.td"
14
15def help : Flag<["--"], "help">;
16def h : Flag<["-"], "h">, Alias<help>;
17
18def add_rpath : Option<["-", "--"], "add_rpath", KIND_SEPARATE>,
19                HelpText<"Add new rpath">;
20
21def prepend_rpath : Option<["-", "--"], "prepend_rpath", KIND_SEPARATE>,
22                    HelpText<"Add new rpath before other rpaths">;
23
24def delete_rpath: Option<["-", "--"], "delete_rpath", KIND_SEPARATE>,
25                  HelpText<"Delete specified rpath">;
26
27def delete_all_rpaths: Flag<["-", "--"], "delete_all_rpaths">,
28              HelpText<"Delete all rpath directives">;
29
30def rpath: MultiArg<["-", "--"], "rpath", 2>,
31           HelpText<"Change rpath path name">;
32
33def id : Option<["-","--"], "id", KIND_SEPARATE>,
34                 HelpText<"Change dynamic shared library id">;
35
36def change: MultiArg<["-", "--"], "change", 2>,
37            HelpText<"Change dependent shared library install name">;
38
39def version : Flag<["--"], "version">,
40              HelpText<"Print the version and exit.">;
41
42def V : Flag<["-"], "V">,
43        Alias<version>,
44        HelpText<"Alias for --version">;
45