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:
Declared in <llvm/MC/TargetRegistry.h>
template<class MCAsmInfoImpl>
struct RegisterMCAsmInfo;
extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCAsmInfo<FooMCAsmInfo> X(TheFooTarget); }
| Name | Description |
|---|---|
RegisterMCAsmInfo [constructor] | Construct from Target |