InstallNameToolOpts.td 1.6 KB

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