Records a position in IR for a source label (DILabel). Corresponds to the llvm.dbg.label intrinsic.
Synopsis
Declared in <llvm/IR/DebugProgramInstruction.h>
class DbgLabelRecord
: public DbgRecord
Base Classes
Name |
Description |
Base class for non‐instruction debug metadata records positioned in IR. |
Type Aliases
Name |
Description |
Const iterator over |
|
Iterator over |
Enums
Name |
Description |
Subclass discriminator. |
Member Functions
Name |
Description |
|
Construct a label record for |
Clone this label record. |
|
Convert this label record back into an llvm.dbg.label intrinsic. |
|
@{ Delete this record, dispatching to the correct subclass destructor. |
|
Dump this record to stderr for debugging. |
|
Unlink this record from its marker and destroy it. |
|
Return the basic block that contains this debug record. |
|
Return the LLVM context that owns this debug record. |
|
Return the source location associated with this debug record. |
|
Return the function that contains this debug record. |
|
Return the instruction whose program position this record is attached to. |
|
Return the source label described by this record. |
|
Return the |
|
Return the module that contains this debug record. |
|
Return the next |
|
Return the basic block that contains this debug record. |
|
Return the previous |
|
Return the label metadata node without type checking. |
|
Return the subclass discriminator for this record. |
|
|
|
|
|
Same as isIdenticalToWhenDefined but checks DebugLoc too. |
|
Return true if this record matches |
|
|
|
|
|
|
|
Unlink this record from its marker without destroying it. |
|
Set the source location associated with this debug record. |
|
Set the source label described by this record. |
|
Associate this record with the given |
Static Member Functions
Name |
Description |
Support type inquiry through isa, cast, and dyn_cast. |
|
Create a label record from unresolved metadata during parsing. |
Data Members
Name |
Description |
Marker that this DbgRecord is linked into. |
Protected Data Members
Name |
Description |
Source location associated with this debug record. |
|
Subclass discriminator. |