llvm.org GIT mirror llvm / 148df15
Added note to getting started guide to use llvm-gcc4.2. Removed llvm-upgrade from documentations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49346 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 11 years ago
3 changed file(s) with 1 addition(s) and 70 deletion(s). Raw diff Collapse all Expand all
3636
3737
  • llvm-dis -
  • 3838 disassemble a bytecode file into a human-readable .ll file
    39
    40
  • llvm-upgrade -
  • 41 upgrade LLVM assembly from previous version
    4239
    4340
  • opt -
  • 4441 run a series of LLVM-to-LLVM optimizations on a bytecode file
    +0
    -66
    docs/CommandGuide/llvm-upgrade.pod less more
    None =pod
    1
    2 =head1 NAME
    3
    4 llvm-upgrade - LLVM assembly upgrade tool
    5
    6 =head1 SYNOPSIS
    7
    8 B [I] [I]
    9
    10 =head1 DESCRIPTION
    11
    12 B is the LLVM assembly upgrade tool. It reads a file containing
    13 human-readable LLVM assembly language, and upgrades that assembly to the current
    14 version of LLVM. If the input is in the form currently accepted by LLVM, then
    15 no upgrades are performed.
    16
    17 The expected usage of this tool is as a filter, like this:
    18
    19 =over
    20
    21 B
    22
    23 =back
    24
    25 If F is omitted or is C<->, then B reads its input from
    26 standard input.
    27
    28 If an output file is not specified with the B<-o> option, then
    29 B sends its output to standard output.
    30
    31 =head1 OPTIONS
    32
    33 =over
    34
    35 =item B<-f>
    36
    37 Force overwrite. Normally, B will refuse to overwrite an
    38 output file that already exists. With this option, B
    39 will overwrite the output file.
    40
    41 =item B<--help>
    42
    43 Print a summary of command line options.
    44
    45 =item B<-o> F
    46
    47 Specify the output file name. If F is C<->, then B
    48 sends its output to standard output.
    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.
    56
    57 =head1 SEE ALSO
    58
    59 L, L
    60
    61 =head1 AUTHORS
    62
    63 Maintained by the LLVM Team (L).
    64
    65 =cut
    113113
  • Read the documentation.
  • 114114
  • Read the documentation.
  • 115115
  • Remember that you were warned twice about reading the documentation.
  • 116
  • Install the llvm-gcc4.0 (or llvm-gcc4.2) front end if you intend to compile C or C++:
  • 116
  • Install the llvm-gcc4.2 front end if you intend to compile C or C++:
  • 117117
    118118
  • cd where-you-want-the-C-front-end-to-live
  • 119119
  • gunzip --stdout llvm-gcc.platform.tar.gz | tar -xvf -