Return true if Type matches the active ‐debug‐only filter.
Synopsis
Declared in <llvm/Support/Debug.h>
bool
isCurrentDebugType(
char const* Type,
int Level = 0);
Description
Returns true if the specified string is the debug type specified on the command line, or if none was specified on the command line with the ‐debug‐only=X option. An optional level can be provided to control the verbosity of the output. If the provided level is not 0 and the user specified a level below the provided level, return false.
Return Value
True if Type matches the active ‐debug‐only filter (and level).
Parameters
Name |
Description |
Type |
Debug type name to test against the ‐debug‐only filter. |
Level |
Minimum verbosity level required for a match (0 skips the level check). |
Created with MrDocs