llvm.org GIT mirror llvm / a606d1f
Add a man page for llvmc. Really basic for now, will be updated later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60049 91177308-0d34-0410-b5e6-96231b3b80d8 Mikhail Glushenkov 11 years ago
2 changed file(s) with 82 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
1414
1515

These documents are HTML versions of the man pages

1616 for all of the LLVM tools. These pages describe how to use the LLVM commands
17 and what their options are. Note that these pages do not describe all of the
18 options available for all tools. To get a complete listing, pass the
17 and what their options are. Note that these pages do not describe all of the
18 options available for all tools. To get a complete listing, pass the
1919 --help (general options) or --help-hidden (general+debugging
2020 options) arguments to the tool you are interested in.

2121
3131
3232
3333
34
  • llvm-as -
  • 34
  • llvm-as -
  • 3535 assemble a human-readable .ll file into bytecode
    3636
    3737
  • llvm-dis -
  • 4040
  • opt -
  • 4141 run a series of LLVM-to-LLVM optimizations on a bytecode file
    4242
    43
  • llc -
  • 43
  • llc -
  • 4444 generate native machine code for a bytecode file
    4545
    46
  • lli -
  • 47 directly run a program compiled to bytecode using a JIT compiler or
    46
  • lli -
  • 47 directly run a program compiled to bytecode using a JIT compiler or
    4848 interpreter
    4949
    5050
  • llvm-link -
  • 5151 link several bytecode files into one
    5252
    53
  • llvm-ar -
  • 53
  • llvm-ar -
  • 5454 archive bytecode files
    5555
    56
  • llvm-ranlib -
  • 56
  • llvm-ranlib -
  • 5757 create an index for archives made with llvm-ar
    5858
    5959
  • llvm-nm -
  • 6565
  • llvm-ld -
  • 6666 general purpose linker with loadable runtime optimization support
    6767
    68
  • llvm-config -
  • 68
  • llvm-config -
  • 6969 print out LLVM compilation options, libraries, etc. as configured.
    70
    71
  • llvmc - a generic
  • 72 customizable compiler driver.
    7073
    7174
    7275
    0 =pod
    1
    2 =head1 NAME
    3
    4 llvmc - The LLVM Compiler Driver (WIP)
    5
    6 =head1 SYNOPSIS
    7
    8 B [I] I
    9
    10 =head1 DESCRIPTION
    11
    12 B is a configurable driver for invoking other LLVM (and non-LLVM) tools
    13 in order to compile, optimize and link software for multiple languages. For
    14 those familiar with FSF's B tool, it is very similar. Please note that
    15 B is considered an experimental tool.
    16
    17 =head1 OPTIONS
    18
    19 =over
    20
    21 =item B<--help>
    22
    23 Print a summary of command line options.
    24
    25 =item B<-o> I
    26
    27 Specify the output file to be I.
    28
    29 =item B<-I> I
    30
    31 Add a directory to the header file search path. This option can be
    32 repeated.
    33
    34 =item B<-L> I
    35
    36 Add I to the library search path. This option can be
    37 repeated.
    38
    39 =item B<-l>I
    40
    41 Link in the library libI.[bc | a | so]. This library should
    42 be a bitcode library.
    43
    44 =item B<-emit-llvm>
    45
    46 Make the output be LLVM bitcode (with B<-c>) or assembly (with B<-s>) instead
    47 of native object (or assembly). If B<-emit-llvm> is given without either B<-c>
    48 or B<-S> it has no effect.
    49
    50 =back
    51
    52 =head1 EXIT STATUS
    53
    54 If B succeeds, it will exit with 0. Otherwise, if an error
    55 occurs, it will exit with a non-zero value. If one of the compilation
    56 tools returns a non-zero status, pending actions will be discarded and
    57 B will return the same result code as the failing compilation
    58 tool.
    59
    60 =head1 SEE ALSO
    61
    62 L, L, L,
    63 L, L, L
    64
    65 =head1 AUTHORS
    66
    67 Maintained by the LLVM Team (L).
    68
    69 =cut