llvm::createMCSymbolizer

Create a default MCSymbolizer for the given triple.

Synopsis

Declared in <llvm/MC/TargetRegistry.h>

MCSymbolizer*
createMCSymbolizer(
    Triple const& TT,
    LLVMOpInfoCallback GetOpInfo,
    LLVMSymbolLookupCallback SymbolLookUp,
    void* DisInfo,
    MCContext* Ctx,
    std::unique_ptr<MCRelocationInfo>&& RelInfo);

Return Value

A new default MCSymbolizer.

Parameters

NameDescription
TTThe target triple.
GetOpInfoCallback to get symbolic operand information.
SymbolLookUpCallback to look up a symbol name.
DisInfoOpaque pointer passed to the callbacks.
CtxThe machine code context.
RelInfoRelocation information. Takes ownership.