File: LipoOpts.td

package info (click to toggle)
llvm-toolchain-13 1%3A13.0.1-6~deb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,418,812 kB
  • sloc: cpp: 5,290,827; ansic: 996,570; asm: 544,593; python: 188,212; objc: 72,027; lisp: 30,291; f90: 25,395; sh: 24,900; javascript: 9,780; pascal: 9,398; perl: 7,484; ml: 5,432; awk: 3,523; makefile: 2,892; xml: 953; cs: 573; fortran: 539
file content (60 lines) | stat: -rw-r--r-- 2,450 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
include "llvm/Option/OptParser.td"

def help : Flag<["-", "--"], "help">;
def h : Flag<["-"], "h">, Alias<help>;

def version : Flag<["-", "--"], "version">,
              HelpText<"Print the version and exit.">;

def segalign
    : MultiArg<["-", "--"], "segalign", 2>,
      HelpText<"Specifies the segment alignment for the specified "
               "architecture when creating a universal binary file. The "
               "alignment is a hexadecimal number that is a power of 2.">;

def arch
    : MultiArg<["-", "--"], "arch", 2>,
      HelpText<"Specifies the architecture and the corresponding input file">;

def action_group : OptionGroup<"action group">;

def verify_arch
    : Option<["-", "--"], "verify_arch", KIND_REMAINING_ARGS>,
      Group<action_group>,
      HelpText<
          "Verify that the specified arch_types are present in the input file">;

def archs : Option<["-", "--"], "archs", KIND_FLAG>,
            Group<action_group>,
            HelpText<"Display the arch_types present in the input file">;

def info : Option<["-", "--"], "info", KIND_FLAG>,
           Group<action_group>,
           HelpText<"Display descriptions of each input file including "
                    "filename and arch_types. Groups universal binaries "
                    "together followed by thin files">;

def thin : Option<["-", "--"], "thin", KIND_SEPARATE>,
           Group<action_group>,
           HelpText<"Create a thin output file of specified arch_type from the "
                    "fat input file. Requires -output option">;

def extract : Option<["-", "--"], "extract", KIND_SEPARATE>,
           Group<action_group>,
           HelpText<"Create a universal output file containing only the specified "
                    "arch_type from the fat input file. Requires -output option">;

def create : Option<["-", "--"], "create", KIND_FLAG>,
             Group<action_group>,
             HelpText<"Create a universal binary output file from the input "
                      "files. Requires -output option">;

def replace
    : MultiArg<["-", "--"], "replace", 2>,
      Group<action_group>,
      HelpText<"Replace the specified arch type with the contents of the "
               "input_file in a universal binary. Requires -output option">;

def output : Option<["-", "--"], "output", KIND_SEPARATE>,
             HelpText<"Create output file with specified name">;
def o : JoinedOrSeparate<["-"], "o">, Alias<output>;