LDBG_LEVEL_OR_TYPE

Expand LDBG() when a single level-or-type argument is provided.

Synopsis

Declared in <llvm/Support/DebugLog.h>

#define LDBG_LEVEL_OR_TYPE(LEVEL_OR_TYPE)

Description

The argument can be either a level or the debug type. If a level is provided, we default the debug type to DEBUG_TYPE; if a string is provided, we default the level to 1.

Parameters

NameDescription
LEVEL_OR_TYPEEither a debug level (int) or a debug type (string).