HPCToolkit
Args.cpp File Reference
#include <iostream>
#include <string>
#include <cstdlib>
#include <errno.h>
#include <include/hpctoolkit-config.h>
#include "Args.hpp"
#include <lib/support/diagnostics.h>
#include <lib/support/Trace.hpp>
Include dependency graph for Args.cpp:

Go to the source code of this file.

Macros

#define ARG_ERROR(streamArgs)
 
#define CLP   CmdLineParser
 

Variables

static const char * version_info = HPCTOOLKIT_VERSION_STRING
 
static const char * usage_summary
 
static const char * usage_details
 

Macro Definition Documentation

◆ ARG_ERROR

#define ARG_ERROR (   streamArgs)
Value:
{ std::ostringstream WeIrDnAmE; \
WeIrDnAmE << streamArgs /*<< std::ends*/; \
printError(std::cerr, WeIrDnAmE.str()); \
exit(1); }

Definition at line 90 of file Args.cpp.

◆ CLP

#define CLP   CmdLineParser

Definition at line 124 of file Args.cpp.

Variable Documentation

◆ usage_details

const char* usage_details
static
Initial value:
= "\
Load module dump. Dumps selected contents of <loadmodule> to stdout.\n\
<loadmodule> may be either an executable or DSO.\n\
\n\
By default instruction types are emitted.\
\n\
Options:\n\
--long Long dump: include symbol table.\n\
--short Short dump: no instructions.\n\
--decode Decode instructions.\n\
--old Old symbolic dump.\n\
-l <addr>, load-addr <addr>\n\
'Load' DSOs at address <addr> rather than 0x0.\n\
Addresses may be in base 10, 8 (prefix '0') or 16\n\
(prefix '0x'). [NOT FULLY IMPLEMENTED]\n\
-V, --version Print version information.\n\
-h, --help Print this help.\n\
--debug [<n>] Debug: use debug level <n>. {1}\n"

Definition at line 103 of file Args.cpp.

◆ usage_summary

const char* usage_summary
static
Initial value:
=
"[options] <loadmodule>\n"

Definition at line 100 of file Args.cpp.

◆ version_info

const char* version_info = HPCTOOLKIT_VERSION_STRING
static

Definition at line 98 of file Args.cpp.