Helper template for registering a target assembly info implementation.
Declared in <llvm/MC/TargetRegistry.h>
template<class MCAsmInfoImpl>
struct RegisterMCAsmInfo;
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); }
| Name | Description |
|---|---|
RegisterMCAsmInfo [constructor] | Register MCAsmInfoImpl as the MCAsmInfo for target T. |