[llvm-commits] CVS: llvm/tools/llvm2cpp/llvm2cpp.cpp
Reid Spencer
reid at x10sys.com
Sun May 28 19:35:41 PDT 2006
Changes in directory llvm/tools/llvm2cpp:
llvm2cpp.cpp updated: 1.1 -> 1.2
---
Log message:
Fix the file's comment block.
---
Diffs of the changes: (+7 -6)
llvm2cpp.cpp | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
Index: llvm/tools/llvm2cpp/llvm2cpp.cpp
diff -u llvm/tools/llvm2cpp/llvm2cpp.cpp:1.1 llvm/tools/llvm2cpp/llvm2cpp.cpp:1.2
--- llvm/tools/llvm2cpp/llvm2cpp.cpp:1.1 Sun May 28 19:57:22 2006
+++ llvm/tools/llvm2cpp/llvm2cpp.cpp Sun May 28 21:35:29 2006
@@ -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.
//
//===------------------------------------------------------------------------===
More information about the llvm-commits
mailing list