Expand LDBG() when both a debug type and a level are provided.
Declared in <llvm/Support/DebugLog.h>
#define LDBG_TYPE_AND_LEVEL(TYPE, LEVEL)
When LDBG() is called with 2 arguments, the first argument is forced to be the type for consistency in the codebase. We trick this by casting the first argument to a (const char *) which won't compile with an int.
| Name | Description |
|---|---|
| TYPE | Debug type string (cast to const char *). |
| LEVEL | Verbosity level required for the output. |