mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3087 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
98ad7e9b5d
commit
c7a0985995
@ -27,10 +27,10 @@ enum OutputMode {
|
||||
c, // Generate C code
|
||||
};
|
||||
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
InputFilename(cl::Positional, cl::desc("<input bytecode>"), cl::init("-"));
|
||||
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
OutputFilename("o", cl::desc("Override output filename"),
|
||||
cl::value_desc("filename"));
|
||||
|
||||
|
@ -17,13 +17,13 @@
|
||||
#include <memory>
|
||||
|
||||
// InputFilename - The filename to read from.
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
InputFilename(cl::Positional, cl::desc("<input bytecode file>"),
|
||||
cl::init("-"), cl::value_desc("filename"));
|
||||
|
||||
|
||||
// ExtractFunc - The function to extract from the module... defaults to main.
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
ExtractFunc("func", cl::desc("Specify function to extract"), cl::init("main"),
|
||||
cl::value_desc("function"));
|
||||
|
||||
|
@ -25,10 +25,10 @@ using std::cerr;
|
||||
// FIXME: This should eventually be parameterized...
|
||||
static TargetData TD("opt target");
|
||||
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
InputFilename(cl::Positional, cl::desc("<input llvm assembly>"), cl::Required);
|
||||
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
OutputFilename("o", cl::desc("Override output filename"),
|
||||
cl::value_desc("filename"));
|
||||
|
||||
|
@ -30,22 +30,22 @@
|
||||
#include <sys/stat.h>
|
||||
using std::cerr;
|
||||
|
||||
static cl::list<string>
|
||||
static cl::list<std::string>
|
||||
InputFilenames(cl::Positional, cl::desc("<input bytecode files>"),
|
||||
cl::OneOrMore);
|
||||
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
OutputFilename("o", cl::desc("Override output filename"), cl::init("a.out"),
|
||||
cl::value_desc("filename"));
|
||||
|
||||
static cl::opt<bool>
|
||||
Verbose("v", cl::desc("Print information about actions taken"));
|
||||
|
||||
static cl::list<string>
|
||||
static cl::list<std::string>
|
||||
LibPaths("L", cl::desc("Specify a library search path"), cl::Prefix,
|
||||
cl::value_desc("directory"));
|
||||
|
||||
static cl::list<string>
|
||||
static cl::list<std::string>
|
||||
Libraries("l", cl::desc("Specify libraries to link to"), cl::Prefix,
|
||||
cl::value_desc("library prefix"));
|
||||
|
||||
|
@ -27,10 +27,10 @@ enum OutputMode {
|
||||
c, // Generate C code
|
||||
};
|
||||
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
InputFilename(cl::Positional, cl::desc("<input bytecode>"), cl::init("-"));
|
||||
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
OutputFilename("o", cl::desc("Override output filename"),
|
||||
cl::value_desc("filename"));
|
||||
|
||||
|
@ -27,10 +27,10 @@ enum OutputMode {
|
||||
c, // Generate C code
|
||||
};
|
||||
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
InputFilename(cl::Positional, cl::desc("<input bytecode>"), cl::init("-"));
|
||||
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
OutputFilename("o", cl::desc("Override output filename"),
|
||||
cl::value_desc("filename"));
|
||||
|
||||
|
@ -17,13 +17,13 @@
|
||||
#include <memory>
|
||||
|
||||
// InputFilename - The filename to read from.
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
InputFilename(cl::Positional, cl::desc("<input bytecode file>"),
|
||||
cl::init("-"), cl::value_desc("filename"));
|
||||
|
||||
|
||||
// ExtractFunc - The function to extract from the module... defaults to main.
|
||||
static cl::opt<string>
|
||||
static cl::opt<std::string>
|
||||
ExtractFunc("func", cl::desc("Specify function to extract"), cl::init("main"),
|
||||
cl::value_desc("function"));
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
using std::cerr;
|
||||
|
||||
using std::string;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// PassNameParser class - Make use of the pass registration mechanism to
|
||||
|
Loading…
Reference in New Issue
Block a user