mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
fit in 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36551 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
01b27458a1
commit
63db485b79
@ -27,6 +27,7 @@
|
|||||||
// The tool is also able to print a bytecode file in a straight forward text
|
// The tool is also able to print a bytecode file in a straight forward text
|
||||||
// format that shows the containment and relationships of the information in
|
// format that shows the containment and relationships of the information in
|
||||||
// the bytecode file (-dump option).
|
// the bytecode file (-dump option).
|
||||||
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "llvm/Analysis/Verifier.h"
|
#include "llvm/Analysis/Verifier.h"
|
||||||
@ -46,9 +47,9 @@ static cl::opt<std::string>
|
|||||||
static cl::opt<std::string>
|
static cl::opt<std::string>
|
||||||
OutputFilename("-o", cl::init("-"), cl::desc("<output file>"));
|
OutputFilename("-o", cl::init("-"), cl::desc("<output file>"));
|
||||||
|
|
||||||
static cl::opt<bool> NoDetails ("nodetails", cl::desc("Skip detailed output"));
|
static cl::opt<bool> NoDetails("nodetails", cl::desc("Skip detailed output"));
|
||||||
static cl::opt<bool> Dump ("dump", cl::desc("Dump low level bytecode trace"));
|
static cl::opt<bool> Dump("dump", cl::desc("Dump low level bytecode trace"));
|
||||||
static cl::opt<bool> Verify ("verify", cl::desc("Progressively verify module"));
|
static cl::opt<bool> Verify("verify", cl::desc("Progressively verify module"));
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||||
@ -58,7 +59,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
sys::PrintStackTraceOnErrorSignal();
|
sys::PrintStackTraceOnErrorSignal();
|
||||||
|
|
||||||
std::ostream* Out = &std::cout; // Default to printing to stdout...
|
std::ostream *Out = &std::cout; // Default to printing to stdout...
|
||||||
std::string ErrorMessage;
|
std::string ErrorMessage;
|
||||||
BytecodeAnalysis bca;
|
BytecodeAnalysis bca;
|
||||||
|
|
||||||
@ -92,5 +93,3 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// vim: sw=2
|
|
||||||
|
Loading…
Reference in New Issue
Block a user