LLVM 20.0.0git
|
Instances of this class represent a label name in the MC file, and MCLabel are created and uniqued by the MCContext class. More...
#include "llvm/MC/MCLabel.h"
Public Member Functions | |
MCLabel (const MCLabel &)=delete | |
MCLabel & | operator= (const MCLabel &)=delete |
unsigned | getInstance () const |
Get the current instance of this Directional Local Label. | |
unsigned | incInstance () |
Increment the current instance of this Directional Local Label. | |
void | print (raw_ostream &OS) const |
Print the value to the stream OS . | |
void | dump () const |
Print the value to stderr. | |
Friends | |
class | MCContext |
Instances of this class represent a label name in the MC file, and MCLabel are created and uniqued by the MCContext class.
MCLabel should only be constructed for valid instances in the object file.
LLVM_DUMP_METHOD void MCLabel::dump | ( | ) | const |
Print the value to stderr.
Definition at line 22 of file MCLabel.cpp.
References llvm::dbgs(), and print().
|
inline |
|
inline |
void MCLabel::print | ( | raw_ostream & | OS | ) | const |
Print the value to the stream OS
.
Definition at line 17 of file MCLabel.cpp.
References getInstance(), and OS.
Referenced by dump().