xref: /freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/InstallNameToolOpts.td (revision dd41de95a84d979615a2ef11df6850622bf6184e)
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 delete_rpath: Option<["-", "--"], "delete_rpath", KIND_SEPARATE>,
22                  HelpText<"Delete specified rpath">;
23
24def rpath: MultiArg<["-", "--"], "rpath", 2>,
25           HelpText<"Change rpath path name">;
26
27def id : Option<["-","--"], "id", KIND_SEPARATE>,
28                 HelpText<"Change dynamic shared library id">;
29
30def change: MultiArg<["-", "--"], "change", 2>,
31            HelpText<"Change dependent shared library install name">;
32
33def version : Flag<["--"], "version">,
34              HelpText<"Print the version and exit.">;
35