LLVM 20.0.0git
|
RegisterMCAsmInfoFn - Helper template for registering a target assembly info implementation. More...
#include "llvm/MC/TargetRegistry.h"
Public Member Functions | |
RegisterMCAsmInfoFn (Target &T, Target::MCAsmInfoCtorFnTy Fn) | |
RegisterMCAsmInfoFn - Helper template for registering a target assembly info implementation.
This invokes the specified function to do the construction. Usage:
extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCAsmInfoFn X(TheFooTarget, TheFunction); }
Definition at line 1070 of file TargetRegistry.h.
|
inline |
Definition at line 1071 of file TargetRegistry.h.
References llvm::TargetRegistry::RegisterMCAsmInfo().