asmjit::Target Class Reference

Target is an abstract class that describes a machine code target.

Public Members

Member Functions

Construction & Destruction
Accessors

Constructor & Destructor Documentation

Target::Target()noexcept

Creates a Target instance.

Target::~Target()virtualnoexcept

Destroys the Target instance.

Member Function Documentation

const Environment& Target::environment() constnoexcept

Returns CodeInfo of this target.

CodeInfo can be used to setup a CodeHolder in case you plan to generate a code compatible and executable by this Runtime.

uint32_t Target::arch() constnoexcept

Returns the target architecture, see Environment::Arch.

uint32_t Target::subArch() constnoexcept

Returns the target sub-architecture, see Environment::SubArch.

Member Data Documentation

Environment Target::_environment

Target environment information.