26 #ifndef LLVM_SUPPORT_DEBUG_H
27 #define LLVM_SUPPORT_DEBUG_H
67 #define DEBUG_WITH_TYPE(TYPE, X) \
68 do { if (::llvm::DebugFlag && ::llvm::isCurrentDebugType(TYPE)) { X; } \
72 #define isCurrentDebugType(X) (false)
73 #define setCurrentDebugType(X)
74 #define DEBUG_WITH_TYPE(TYPE, X) do { } while (0)
97 #define DEBUG(X) DEBUG_WITH_TYPE(DEBUG_TYPE, X)
COFF::RelocationTypeX86 Type
void setCurrentDebugType(const char *Type)
raw_ostream & dbgs()
dbgs - Return a circular-buffered debug stream.
bool EnableDebugBuffering
bool isCurrentDebugType(const char *Type)