[#DEBUG_WITH_TYPE] = DEBUG_WITH_TYPE :mrdocs: Execute `*VA_ARGS*` when ‐debug is enabled for `TYPE.` == Synopsis Declared in `<llvm/Support/Debug.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- #define DEBUG_WITH_TYPE(TYPE, ...) ---- == Description This macro should be used by passes to emit debug information. If the '‐debug' option is specified on the command line, and if this is a debug build, then the code specified as the option to the macro will be executed. Otherwise it will not be. Example: DEBUG_WITH_TYPE("bitset", dbgs() << "Bitset contains: " << Bitset << "n"); This will emit the debug information if ‐debug is present, and ‐debug‐only is not specified, or is specified as "bitset". == Parameters [cols="1,4"] |=== | Name| Description | *TYPE* | Debug type name that must match the ‐debug‐only filter. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#