mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Move the space in overview output for commands out of each of the
commands and into the common code. llvm-svn: 42752
This commit is contained in:
parent
d7c8b98426
commit
2e8245a376
@ -951,7 +951,7 @@ public:
|
||||
}
|
||||
|
||||
if (ProgramOverview)
|
||||
cout << "OVERVIEW:" << ProgramOverview << "\n";
|
||||
cout << "OVERVIEW: " << ProgramOverview << "\n";
|
||||
|
||||
cout << "USAGE: " << ProgramName << " [options]";
|
||||
|
||||
|
@ -66,7 +66,7 @@ static void BugpointInterruptFunction() {
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
cl::ParseCommandLineOptions(argc, argv,
|
||||
" LLVM automatic testcase reducer. See\nhttp://"
|
||||
"LLVM automatic testcase reducer. See\nhttp://"
|
||||
"llvm.org/docs/CommandGuide/bugpoint.html"
|
||||
" for more information.\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
@ -172,7 +172,7 @@ static std::ostream *GetOutputStream(const char *ProgName) {
|
||||
//
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm system compiler\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm system compiler\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
// Load the module to be compiled...
|
||||
|
@ -67,7 +67,7 @@ static void do_shutdown() {
|
||||
int main(int argc, char **argv, char * const *envp) {
|
||||
atexit(do_shutdown); // Call llvm_shutdown() on exit.
|
||||
cl::ParseCommandLineOptions(argc, argv,
|
||||
" llvm interpreter & dynamic compiler\n");
|
||||
"llvm interpreter & dynamic compiler\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
// If the user doesn't want core files, disable them.
|
||||
|
@ -690,7 +690,7 @@ int main(int argc, char **argv) {
|
||||
// Have the command line options parsed and handle things
|
||||
// like --help and --version.
|
||||
cl::ParseCommandLineOptions(argc, argv,
|
||||
" LLVM Archiver (llvm-ar)\n\n"
|
||||
"LLVM Archiver (llvm-ar)\n\n"
|
||||
" This program archives bitcode files into single libraries\n"
|
||||
);
|
||||
|
||||
|
@ -48,7 +48,7 @@ DisableVerify("disable-verify", cl::Hidden,
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .bc assembler\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm .ll -> .bc assembler\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
int exitCode = 0;
|
||||
|
@ -496,7 +496,7 @@ static int AnalyzeBitcode() {
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm-bcanalyzer file analyzer\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm-bcanalyzer file analyzer\n");
|
||||
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
|
@ -53,7 +53,7 @@ int main(int argc, char **argv, char * const *envp) {
|
||||
std::cout << "NOTE: llvm-db is known useless right now.\n";
|
||||
try {
|
||||
cl::ParseCommandLineOptions(argc, argv,
|
||||
" llvm source-level debugger\n");
|
||||
"llvm source-level debugger\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
if (!Quiet)
|
||||
|
@ -46,7 +46,7 @@ DontPrint("disable-output", cl::desc("Don't output the .ll file"), cl::Hidden);
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
try {
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm .bc -> .ll disassembler\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm .bc -> .ll disassembler\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
std::ostream *Out = &std::cout; // Default to printing to stdout.
|
||||
|
@ -52,7 +52,7 @@ ExtractFunc("func", cl::desc("Specify function to extract"), cl::init("main"),
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm extractor\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm extractor\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
std::auto_ptr<Module> M;
|
||||
|
@ -469,7 +469,7 @@ int main(int argc, char **argv, char **envp) {
|
||||
progname = sys::Path(argv[0]).getBasename();
|
||||
|
||||
// Parse the command line options
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm linker\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm linker\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
// Construct a Linker (now that Verbose is set)
|
||||
|
@ -79,7 +79,7 @@ static inline std::auto_ptr<Module> LoadFile(const std::string &FN) {
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm linker\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm linker\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
assert(InputFilenames.size() > 0 && "OneOrMore is not working");
|
||||
|
||||
|
@ -165,7 +165,7 @@ static void DumpSymbolNamesFromFile(std::string &Filename) {
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm symbol table dumper\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm symbol table dumper\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
ToolName = argv[0];
|
||||
|
@ -112,7 +112,7 @@ namespace {
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
try {
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm profile dump decoder\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm profile dump decoder\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
// Read in the bitcode file...
|
||||
|
@ -47,7 +47,7 @@ int main(int argc, char **argv) {
|
||||
// Have the command line options parsed and handle things
|
||||
// like --help and --version.
|
||||
cl::ParseCommandLineOptions(argc, argv,
|
||||
" LLVM Archive Index Generator (llvm-ranlib)\n\n"
|
||||
"LLVM Archive Index Generator (llvm-ranlib)\n\n"
|
||||
" This program adds or updates an index of bitcode symbols\n"
|
||||
" to an LLVM archive file."
|
||||
);
|
||||
|
@ -51,7 +51,7 @@ Debug("debug-upgrade-yacc", cl::desc("Print debug output from yacc parser"),
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .bc assembler\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm .ll -> .bc assembler\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
int exitCode = 0;
|
||||
|
@ -43,7 +43,7 @@ Force("f", cl::desc("Overwrite output files"));
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .cpp assembler\n");
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm .ll -> .cpp assembler\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
int exitCode = 0;
|
||||
|
@ -257,7 +257,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
// Parse the command line options
|
||||
cl::ParseCommandLineOptions(argc, argv,
|
||||
" LLVM Compiler Driver (llvmc)\n\n"
|
||||
"LLVM Compiler Driver (llvmc)\n\n"
|
||||
" This program provides easy invocation of the LLVM tool set\n"
|
||||
" and other compiler tools.\n"
|
||||
);
|
||||
|
@ -308,7 +308,7 @@ int main(int argc, char **argv) {
|
||||
llvm_shutdown_obj X; // Call llvm_shutdown() on exit.
|
||||
try {
|
||||
cl::ParseCommandLineOptions(argc, argv,
|
||||
" llvm .bc -> .bc modular optimizer and analysis printer \n");
|
||||
"llvm .bc -> .bc modular optimizer and analysis printer\n");
|
||||
sys::PrintStackTraceOnErrorSignal();
|
||||
|
||||
// Allocate a full target machine description only if necessary.
|
||||
|
Loading…
Reference in New Issue
Block a user