llvm::RegisterMCAsmInfo

RegisterMCAsmInfo - Helper template for registering a target assembly info implementation. This invokes the static "Create" method on the class to actually do the construction. Usage:

Synopsis

Declared in <llvm/MC/TargetRegistry.h>

template<class MCAsmInfoImpl>
struct RegisterMCAsmInfo;

Description

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

Member Functions

NameDescription
RegisterMCAsmInfo [constructor]Construct from Target