AsmJit
Low-Latency Machine Code Generation
Label entry.
Contains the following properties:
Label
operand.LabelType::kAnonymous
.Assembler
._links
list.Constant | Description |
---|---|
kStaticNameSize | SSO size of _name. |
Returns label id.
Sets label id (internal, used only by CodeHolder
).
Returns label type.
Tests whether the label has a parent label.
Returns label's parent id.
Returns the section where the label was bound.
If the label was not yet bound the return value is nullptr
.
Tests whether the label has name.
Returns the label's name.
Returns size of label's name.
strlen()
to get it, however, it's also cached in LabelEntry
itself, so if you want to know the size the fastest way is to call LabelEntry::nameSize()
. Returns links associated with this label.
Tests whether the label is bound.
Tests whether the label is bound to a the given sectionId
.
Returns the label offset (only useful if the label is bound).
Returns the hash-value of label's name and its parent label (if any).
Label hash is calculated as HASH(Name) ^ ParentId
. The hash function is implemented in Support::hashString()
and Support::hashRound()
.
Type of the label.
Must be zero.
Label parent id or zero.
Label offset relative to the start of the _section
.
Section where the label was bound.
Label links.
Label name.