BitcodeStripOpts.td 1.0 KB

123456789101112131415161718192021222324252627282930
  1. //===-- BitcodeStripOpts.td - llvm-bitcode-strip 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-bitcode-strip.
  10. //
  11. //===----------------------------------------------------------------------===//
  12. include "llvm/Option/OptParser.td"
  13. def help : Flag<["--"], "help">;
  14. def h : Flag<["-"], "h">, Alias<help>;
  15. def version : Flag<["--"], "version">,
  16. HelpText<"Print the version and exit">;
  17. def V : Flag<["-"], "V">,
  18. Alias<version>,
  19. HelpText<"Alias for --version">;
  20. def remove : Flag<["-"], "r">,
  21. HelpText<"Remove the __LLVM bitcode segment entirely">;
  22. def output : JoinedOrSeparate<["-"], "o">, HelpText<"Write output to <file>">,
  23. MetaVarName<"<file>">;