Debian Codegraph @

llvm/tools/llvm-objcopy/BitcodeStripOpts.td

raw
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
13 include "llvm/Option/OptParser.td"
14
15 def help : Flag<["--"], "help">;
16
17 def h : Flag<["-"], "h">, Alias<help>;
18
19 def version : Flag<["--"], "version">,
20 HelpText<"Print the version and exit">;
21
22 def V : Flag<["-"], "V">,
23 Alias<version>,
24 HelpText<"Alias for --version">;
25
26 def remove : Flag<["-"], "r">,
27 HelpText<"Remove the __LLVM bitcode segment entirely">;
28
29 def output : JoinedOrSeparate<["-"], "o">, HelpText<"Write output to <file>">,
30 MetaVarName<"<file>">;