diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-05-29 02:35:29 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-05-29 02:35:29 +0000 |
commit | d9169d3cbe3716ad1ae20947222fa2bf3b3fae6b (patch) | |
tree | 8c3aa0a7a46c3bf0b37dc281a9894fa96c892ff8 /tools/llvm2cpp/llvm2cpp.cpp | |
parent | fd20c0ab007a01525d5344e4097e7ae60cb47005 (diff) |
Fix the file's comment block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm2cpp/llvm2cpp.cpp')
-rw-r--r-- | tools/llvm2cpp/llvm2cpp.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/llvm2cpp/llvm2cpp.cpp b/tools/llvm2cpp/llvm2cpp.cpp index 2b044f89e8..7d27b72ea1 100644 --- a/tools/llvm2cpp/llvm2cpp.cpp +++ b/tools/llvm2cpp/llvm2cpp.cpp @@ -1,4 +1,4 @@ -//===--- llvm-as.cpp - The low-level LLVM assembler -----------------------===// +//===--- llvm2cpp.cpp - LLVM IR to C++ Translator -------------------------===// // // The LLVM Compiler Infrastructure // @@ -7,11 +7,12 @@ // //===----------------------------------------------------------------------===// // -// This utility may be invoked in the following manner: -// llvm-as --help - Output information about command line switches -// llvm-as [options] - Read LLVM asm from stdin, write bytecode to stdout -// llvm-as [options] x.ll - Read LLVM asm from the x.ll file, write bytecode -// to the x.bc file. +// This program converts an input LLVM assembly file (.ll) into a C++ source +// file that makes calls to the LLVM C++ API to produce the same module. The +// generated program verifies what it built and then runs the PrintAssemblyPass +// to reproduce the input originally given to llvm2cpp. +// +// Use the --help option for help with command line options. // //===------------------------------------------------------------------------=== |