29 #ifndef LLVM_SUPPORT_DEBUG_H 30 #define LLVM_SUPPORT_DEBUG_H 65 #define DEBUG_WITH_TYPE(TYPE, X) \ 66 do { if (::llvm::DebugFlag && ::llvm::isCurrentDebugType(TYPE)) { X; } \ 70 #define isCurrentDebugType(X) (false) 71 #define setCurrentDebugType(X) 72 #define setCurrentDebugTypes(X, N) 73 #define DEBUG_WITH_TYPE(TYPE, X) do { } while (false) 123 #define LLVM_DEBUG(X) DEBUG_WITH_TYPE(DEBUG_TYPE, X) 127 #endif // LLVM_SUPPORT_DEBUG_H Type
MessagePack types as defined in the standard, with the exception of Integer being divided into a sign...
bool VerifyMemorySSA
Enables verification of MemorySSA.
This class represents lattice values for constants.
void setCurrentDebugType(const char *Type)
setCurrentDebugType - Set the current debug type, as if the -debug-only=X option were specified...
bool VerifyDomInfo
Enables verification of dominator trees.
bool VerifyLoopInfo
Enables verification of loop info.
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
bool EnableDebugBuffering
EnableDebugBuffering - This defaults to false.
bool DebugFlag
This boolean is set to true if the '-debug' command line option is specified.
bool isCurrentDebugType(const char *Type)
isCurrentDebugType - Return true if the specified string is the debug type specified on the command l...
void setCurrentDebugTypes(const char **Types, unsigned Count)
setCurrentDebugTypes - Set the current debug type, as if the -debug-only=X,Y,Z option were specified...