LLVM 20.0.0git
|
RegisterMCAsmBackend - Helper template for registering a target specific assembler backend. More...
#include "llvm/MC/TargetRegistry.h"
Public Member Functions | |
RegisterMCAsmBackend (Target &T) | |
RegisterMCAsmBackend - Helper template for registering a target specific assembler backend.
Usage:
extern "C" void LLVMInitializeFooMCAsmBackend() { extern Target TheFooTarget; RegisterMCAsmBackend<FooAsmLexer> X(TheFooTarget); }
Definition at line 1269 of file TargetRegistry.h.
|
inline |
Definition at line 1270 of file TargetRegistry.h.
References Allocator, and llvm::TargetRegistry::RegisterMCAsmBackend().