llvm::RegisterMCAsmInfo

Helper template for registering a target assembly info implementation.

Synopsis

Declared in <llvm/MC/TargetRegistry.h>

template<class MCAsmInfoImpl>
struct RegisterMCAsmInfo;

Description

This invokes the static "Create" method on the class to actually do the construction. Usage:

extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCAsmInfo<FooMCAsmInfo> X(TheFooTarget); }

Member Functions

NameDescription
RegisterMCAsmInfo [constructor]Register MCAsmInfoImpl as the MCAsmInfo for target T.