brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 21db854 Raw
31 lines · plain
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-exception6//7//===----------------------------------------------------------------------===//8//9// This file describes the command line options of llvm-bitcode-strip.10//11//===----------------------------------------------------------------------===//12 13include "llvm/Option/OptParser.td"14 15def help : Flag<["--"], "help">;16 17def h : Flag<["-"], "h">, Alias<help>;18 19def version : Flag<["--"], "version">,20              HelpText<"Print the version and exit">;21 22def V : Flag<["-"], "V">,23        Alias<version>,24        HelpText<"Alias for --version">;25 26def remove : Flag<["-"], "r">,27        HelpText<"Remove the __LLVM bitcode segment entirely">;28 29def output : JoinedOrSeparate<["-"], "o">, HelpText<"Write output to <file>">,30             MetaVarName<"<file>">;31