MCPcopy Create free account
hub / github.com/asmjit/asmjit / label_offset

Method label_offset

asmjit/core/codeholder.h:1138–1142  ·  view source on GitHub ↗

Returns offset of a `Label` by its `label_id`. The offset returned is relative to the start of the section where the label is bound. Zero offset is returned for unbound labels, which is their initial offset value. \attention The passed `label_id` must be valid as it's used as an index to `_label_entries[]` array. In debug builds the array access uses an assertion, but such assertion is not prese

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

is_label_validFunction · 0.85
offsetMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected