struct RegisterMCObjectFileInfo
Declaration
template <class MCObjectFileInfoImpl>
struct RegisterMCObjectFileInfo { /* full declaration omitted */ };Description
Helper template for registering a target object file info implementation. This invokes the static "Create" method on the class to actually do the construction. Usage: extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCObjectFileInfo <FooMCObjectFileInfo > X(TheFooTarget); }
Declared at: llvm/include/llvm/MC/TargetRegistry.h:1154
Templates
- MCObjectFileInfoImpl
Method Overview
- private static llvm::MCObjectFileInfo * Allocator(llvm::MCContext & Ctx, bool PIC, bool LargeCodeModel = false)
- public RegisterMCObjectFileInfo<MCObjectFileInfoImpl>(llvm::Target & T)
Methods
¶static llvm::MCObjectFileInfo* Allocator(
llvm::MCContext& Ctx,
bool PIC,
bool LargeCodeModel = false)
static llvm::MCObjectFileInfo* Allocator(
llvm::MCContext& Ctx,
bool PIC,
bool LargeCodeModel = false)Declared at: llvm/include/llvm/MC/TargetRegistry.h:1160
Parameters
- llvm::MCContext& Ctx
- bool PIC
- bool LargeCodeModel = false
¶RegisterMCObjectFileInfo<MCObjectFileInfoImpl>(
llvm::Target& T)
RegisterMCObjectFileInfo<MCObjectFileInfoImpl>(
llvm::Target& T)Declared at: llvm/include/llvm/MC/TargetRegistry.h:1155
Parameters
- llvm::Target& T