llvm::MCLFIRewriter::onLabel

Handle emission of label Symbol.

Synopsis

Declared in <llvm/MC/MCLFIRewriter.h>

virtual
void
onLabel(
    MCSymbol const* Symbol,
    MCStreamer& Out);

Description

Called when a label is emitted. Used for optimizations that require information about jump targets, such as guard elimination, and to flush any rewriter state that must not cross a potential branch target.

Parameters

NameDescription
Symbol- Label being emitted.
Out- Streamer associated with the label.