llvm.org GIT mirror llvm / 63db485
fit in 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36551 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 5 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
2626 // The tool is also able to print a bytecode file in a straight forward text
2727 // format that shows the containment and relationships of the information in
2828 // the bytecode file (-dump option).
29 //
2930 //===----------------------------------------------------------------------===//
3031
3132 #include "llvm/Analysis/Verifier.h"
4546 static cl::opt
4647 OutputFilename("-o", cl::init("-"), cl::desc(""));
4748
48 static cl::opt NoDetails ("nodetails", cl::desc("Skip detailed output"));
49 static cl::opt Dump ("dump", cl::desc("Dump low level bytecode trace"));
50 static cl::opt Verify ("verify", cl::desc("Progressively verify module"));
49 static cl::opt NoDetails("nodetails", cl::desc("Skip detailed output"));
50 static cl::opt Dump("dump", cl::desc("Dump low level bytecode trace"));
51 static cl::opt Verify("verify", cl::desc("Progressively verify module"));
5152
5253 int main(int argc, char **argv) {
5354 llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
5758
5859 sys::PrintStackTraceOnErrorSignal();
5960
60 std::ostream* Out = &std::cout; // Default to printing to stdout...
61 std::ostream *Out = &std::cout; // Default to printing to stdout...
6162 std::string ErrorMessage;
6263 BytecodeAnalysis bca;
6364
9192 }
9293 return 1;
9394 }
94
95 // vim: sw=2