[#DEBUG_WITH_TYPE]
= DEBUG&lowbar;WITH&lowbar;TYPE
:mrdocs:

DEBUG&lowbar;WITH&lowbar;TYPE macro &hyphen; This macro should be used by passes to emit debug information&period; If the &apos;&hyphen;debug&apos; option is specified on the commandline, and if this is a debug build, then the code specified as the option to the macro will be executed&period; Otherwise it will not be&period; Example&colon;

== Synopsis

Declared in `&lt;llvm&sol;Support&sol;Debug&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define DEBUG&lowbar;WITH&lowbar;TYPE(TYPE, ...)

----

== Description

DEBUG&lowbar;WITH&lowbar;TYPE(&quot;bitset&quot;, dbgs() &lt;&lt; &quot;Bitset contains&colon; &quot; &lt;&lt; Bitset &lt;&lt; &quot;n&quot;)&semi;

This will emit the debug information if &hyphen;debug is present, and &hyphen;debug&hyphen;only is not specified, or is specified as &quot;bitset&quot;&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
