llvm::RegisterMCAsmInfoFn

RegisterMCAsmInfoFn - Helper template for registering a target assembly info implementation. This invokes the specified function to do the construction. Usage:

Synopsis

Declared in <llvm/MC/TargetRegistry.h>

struct RegisterMCAsmInfoFn;

Description

extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCAsmInfoFn X(TheFooTarget, TheFunction); }

Member Functions

NameDescription
RegisterMCAsmInfoFn [constructor]Register constructor Fn as the MCAsmInfo for target T.