LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::RegisterMCAsmInfoFn Struct Reference

RegisterMCAsmInfoFn - Helper template for registering a target assembly info implementation. More...

#include "llvm/Support/TargetRegistry.h"

Public Member Functions

 RegisterMCAsmInfoFn (Target &T, Target::MCAsmInfoCtorFnTy Fn)
 

Detailed Description

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 937 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCAsmInfoFn()

llvm::RegisterMCAsmInfoFn::RegisterMCAsmInfoFn ( Target T,
Target::MCAsmInfoCtorFnTy  Fn 
)
inline

Definition at line 938 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterMCAsmInfo().


The documentation for this struct was generated from the following file: