summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm2cpp/llvm2cpp.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-05-29 02:35:29 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-05-29 02:35:29 +0000
commit7af13d73f7bf6b1f6264d1dc280d3f983ba62773 (patch)
treef456a19d67cff0d70d99e4d6c5402d60e4090c2c /llvm/tools/llvm2cpp/llvm2cpp.cpp
parentedcf47ea45808f2e4322173c4a9ee5d6034d5068 (diff)
downloadbcm5719-llvm-7af13d73f7bf6b1f6264d1dc280d3f983ba62773.tar.gz
bcm5719-llvm-7af13d73f7bf6b1f6264d1dc280d3f983ba62773.zip
Fix the file's comment block.
llvm-svn: 28535
Diffstat (limited to 'llvm/tools/llvm2cpp/llvm2cpp.cpp')
-rw-r--r--llvm/tools/llvm2cpp/llvm2cpp.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/tools/llvm2cpp/llvm2cpp.cpp b/llvm/tools/llvm2cpp/llvm2cpp.cpp
index 2b044f89e86..7d27b72ea13 100644
--- a/llvm/tools/llvm2cpp/llvm2cpp.cpp
+++ b/llvm/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.
//
//===------------------------------------------------------------------------===
OpenPOWER on IntegriCloud