RegisterMCAsmBackend ‐ Register a MCAsmBackend implementation for the given target.

Synopsis

Declared in <llvm/MC/TargetRegistry.h>

static
void
RegisterMCAsmBackend(
    Target& T,
    Target::MCAsmBackendCtorTy Fn);

Description

Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.

Parameters

Name

Description

T

‐ The target being registered.

Fn

‐ A function to construct an AsmBackend for the target.

Created with MrDocs