cl::ParseCommandLineOptions(argc, argv, " llvm .bc -> .ll disassembler\n");
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::auto_ptr<Module> M(ParseBytecodeFile(InputFilename, &ErrorMessage));
Out = &std::cout;
}
- // All that dis does is write the assembly or C out to a file...
- //
+ // All that llvm-dis does is write the assembly to a file.
PassManager Passes;
Passes.add(new PrintModulePass(Out));
Passes.run(*M.get());