diff options
Diffstat (limited to 'tools/extract/extract.cpp')
-rw-r--r-- | tools/extract/extract.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/extract/extract.cpp b/tools/extract/extract.cpp index 3f24e387e6..78d0426be1 100644 --- a/tools/extract/extract.cpp +++ b/tools/extract/extract.cpp @@ -1,10 +1,10 @@ //===- extract.cpp - LLVM function extraction utility ---------------------===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This utility changes the input module to only contain a single function, @@ -28,9 +28,9 @@ using namespace llvm; static cl::opt<std::string> InputFilename(cl::Positional, cl::desc("<input bytecode file>"), cl::init("-"), cl::value_desc("filename")); - + static cl::opt<std::string> -OutputFilename("o", cl::desc("Specify output filename"), +OutputFilename("o", cl::desc("Specify output filename"), cl::value_desc("filename"), cl::init("-")); static cl::opt<bool> @@ -88,7 +88,7 @@ int main(int argc, char **argv) { Out = new std::ofstream(OutputFilename.c_str(), io_mode); } else { // Specified stdout // FIXME: cout is not binary! - Out = &std::cout; + Out = &std::cout; } Passes.add(new WriteBytecodePass(Out)); // Write bytecode to file... |