[llvm-commits] CVS: llvm-java/tools/class2llvm/class2llvm.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Mon May 24 13:38:02 PDT 2004
Changes in directory llvm-java/tools/class2llvm:
class2llvm.cpp updated: 1.2 -> 1.3
---
Log message:
Add command line support to both utilities.
---
Diffs of the changes: (+3 -0)
Index: llvm-java/tools/class2llvm/class2llvm.cpp
diff -u llvm-java/tools/class2llvm/class2llvm.cpp:1.2 llvm-java/tools/class2llvm/class2llvm.cpp:1.3
--- llvm-java/tools/class2llvm/class2llvm.cpp:1.2 Sat May 22 18:25:22 2004
+++ llvm-java/tools/class2llvm/class2llvm.cpp Mon May 24 13:34:52 2004
@@ -16,6 +16,7 @@
#include <llvm/Java/Compiler.h>
#include <llvm/PassManager.h>
#include <llvm/Assembly/PrintModulePass.h>
+#include <Support/CommandLine.h>
#include <Support/Signals.h>
#include <cstddef>
@@ -27,6 +28,8 @@
int main(int argc, char* argv[])
{
PrintStackTraceOnErrorSignal();
+ cl::ParseCommandLineOptions(argc, argv,
+ "classfile to llvm utility");
try {
std::auto_ptr<Java::ClassFile> cf(
More information about the llvm-commits
mailing list