Go to the documentation of this file.
35 #undef isCurrentDebugType
36 #undef setCurrentDebugType
37 #undef setCurrentDebugTypes
76 for (
size_t T = 0;
T < Count; ++
T)
94 struct CreateDebugBufferSize {
98 cl::desc(
"Buffer the last N characters of debug output "
99 "until program termination. "
100 "[default 0 -- immediate print-out]"),
113 struct DebugOnlyOpt {
114 void operator=(
const std::string &Val)
const {
120 for (
auto dbgType : dbgTypes)
129 struct CreateDebugOnly {
130 static void *
call() {
133 cl::desc(
"Enable a specific type of debug output (comma separated list "
165 static struct dbgstream {
169 : strm(
errs(),
"*** Debug Log Output ***\n",
This is an optimization pass for GlobalISel generic memory operations.
LocationClass< Ty > location(Ty &L)
bool EnableDebugBuffering
EnableDebugBuffering - This defaults to false.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
static ManagedStatic< cl::opt< unsigned >, CreateDebugBufferSize > DebugBufferSize
The instances of the Type class are immutable: once they are created, they are never changed.
static ManagedStatic< std::vector< std::string > > CurrentDebugType
raw_fd_ostream & errs()
This returns a reference to a raw_ostream for standard error.
static DebugOnlyOpt DebugOnlyOptLoc
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
LLVM_NODISCARD std::pair< StringRef, StringRef > split(char Separator) const
Split into two substrings around the first occurrence of a separator character.
ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on...
This class implements an extremely fast bulk output stream that can only output to a stream.
circular_raw_ostream - A raw_ostream which can save its data to a circular buffer,...
void setCurrentDebugType(const char *Type)
setCurrentDebugType - Set the current debug type, as if the -debug-only=X option were specified.
S is passed via registers r2 But gcc stores them to the and then reload them to and r3 before issuing the call(r0 contains the address of the format string)
initializer< Ty > init(const Ty &Val)
void AddSignalHandler(SignalHandlerCallback FnPtr, void *Cookie)
Add a function to be called when an abort/kill signal is delivered to the process.
bool isCurrentDebugType(const char *Type)
isCurrentDebugType - Return true if the specified string is the debug type specified on the command l...
StringRef - Represent a constant reference to a string, i.e.
void flushBufferWithBanner()
flushBufferWithBanner - Force output of the buffer along with a small header.
void setCurrentDebugTypes(const char **Types, unsigned Count)
setCurrentDebugTypes - Set the current debug type, as if the -debug-only=X,Y,Z option were specified.
bool DebugFlag
This boolean is set to true if the '-debug' command line option is specified.
static ManagedStatic< cl::opt< DebugOnlyOpt, true, cl::parser< std::string > >, CreateDebugOnly > DebugOnly
the resulting code requires compare and branches when and if the revised code is with conditional branches instead of More there is a byte word extend before each where there should be only and the condition codes are not remembered when the same two values are compared twice More LSR enhancements i8 and i32 load store addressing modes are identical int int int d
static void debug_user_sig_handler(void *Cookie)