asmjit::SectionNode Class Reference

Section node.

Public Members

- Public Attributes inherited from asmjit::BaseNode

Member Functions

Construction & Destruction
- Public Member Functions inherited from asmjit::BaseNode

Additional Inherited Members

- Public Types inherited from asmjit::BaseNode

Constructor & Destructor Documentation

SectionNode::SectionNode(BaseBuilder* cb, uint32_t id = 0)noexcept

Creates a new SectionNode instance.

Member Function Documentation

uint32_t SectionNode::id() constnoexcept

Returns the section id.

Member Data Documentation

uint32_t SectionNode::_id

Section id.

SectionNode* SectionNode::_nextSection

Next section node that follows this section.

This link is only valid when the section is active (is part of the code) and when Builder::hasDirtySectionLinks() returns false. If you intend to use this field you should always call Builder::updateSectionLinks() before you do so.