This macro is the core of the LDBG_OS() macros. It is used to print the debug output with the given stream, level, type, file, and line number.
Synopsis
Declared in <llvm/Support/DebugLog.h>
#define LDBG_OS_IMPL(TYPE_OR_LEVEL, LEVEL_OR_TYPE, CALLBACK, STREAM, FILE, LINE)
Parameters
Name |
Description |
TYPE_OR_LEVEL |
Debug type when a string, or level when an integer (paired with |
LEVEL_OR_TYPE |
Debug level when an integer, or type when a string (paired with |
CALLBACK |
Callable invoked with the prefixed debug stream. |
STREAM |
Underlying |
FILE |
Source file name shown in the prefix. |
LINE |
Source line number shown in the prefix. |
Created with MrDocs