| 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 |
|
| 13 |
include "llvm/Option/OptParser.td" |
| 14 |
|
| 15 |
def help : Flag<["--"], "help">; |
| 16 |
def h : Flag<["-"], "h">, Alias<help>; |
| 17 |
|
| 18 |
def add_rpath : Option<["-", "--"], "add_rpath", KIND_SEPARATE>, |
| 19 |
HelpText<"Add new rpath">; |
| 20 |
|
| 21 |
def prepend_rpath : Option<["-", "--"], "prepend_rpath", KIND_SEPARATE>, |
| 22 |
HelpText<"Add new rpath before other rpaths">; |
| 23 |
|
| 24 |
def delete_rpath: Option<["-", "--"], "delete_rpath", KIND_SEPARATE>, |
| 25 |
HelpText<"Delete specified rpath">; |
| 26 |
|
| 27 |
def delete_all_rpaths: Flag<["-", "--"], "delete_all_rpaths">, |
| 28 |
HelpText<"Delete all rpath directives">; |
| 29 |
|
| 30 |
def rpath: MultiArg<["-", "--"], "rpath", 2>, |
| 31 |
HelpText<"Change rpath path name">; |
| 32 |
|
| 33 |
def id : Option<["-","--"], "id", KIND_SEPARATE>, |
| 34 |
HelpText<"Change dynamic shared library id">; |
| 35 |
|
| 36 |
def change: MultiArg<["-", "--"], "change", 2>, |
| 37 |
HelpText<"Change dependent shared library install name">; |
| 38 |
|
| 39 |
def version : Flag<["--"], "version">, |
| 40 |
HelpText<"Print the version and exit.">; |
| 41 |
|
| 42 |
def V : Flag<["-"], "V">, |
| 43 |
Alias<version>, |
| 44 |
HelpText<"Alias for --version">; |