A pseudo probe instance for one table entry.

Synopsis

Declared in <llvm/MC/MCPseudoProbe.h>

class MCPseudoProbe
    : public MCPseudoProbeBase

Description

Created while a machine instruction is assembled, using an address from a temporary label at the current address in the current section.

Base Classes

Name

Description

MCPseudoProbeBase

Shared state for an encoded or decoded pseudo probe.

Member Functions

Name

Description

MCPseudoProbe [constructor]

Construct a probe bound to temporary label Label.

emit

Emit this probe into MCOS relative to LastProbe.

getAttributes

Return the probe attribute bitmask.

getDiscriminator

Return the probe discriminator.

getGuid

Return the GUID of the originating function.

getIndex

Return the probe index within its function.

getLabel

Return the temporary label at the probe address.

getType

Return the probe type.

isBlock

Return true if this is a basic‐block probe.

isCall

Return true if this is any call probe.

isDirectCall

Return true if this is a direct‐call probe.

isEntry

Return true if this is the function‐entry probe.

isIndirectCall

Return true if this is an indirect‐call probe.

setAttributes

Replace the probe attribute bitmask with Attr.

Protected Data Members

Name

Description

Attributes

Bitmask of probe attributes (see PseudoProbeAttributes).

Discriminator

Source discriminator associated with the probe, if any.

Index

Probe index within the originating function.

Type

Probe kind (block, indirect call, or direct call).

Protected Static Data Members

Name

Description

PseudoProbeFirstId

First valid user probe index.

Created with MrDocs