ΒΆLLVMDisasmContextRef LLVMCreateDisasmCPU(
    const char* Triple,
    const char* CPU,
    void* DisInfo,
    int TagType,
    LLVMOpInfoCallback GetOpInfo,
    LLVMSymbolLookupCallback SymbolLookUp)

Description

Create a disassembler for the TripleName and a specific CPU. Symbolic disassembly is supported by passing a block of information in the DisInfo parameter and specifying the TagType and callback functions as described above. These can all be passed * as NULL. If successful, this returns a disassembler context. If not, it returns NULL. This function is equivalent to calling LLVMCreateDisasmCPUFeatures() with an empty feature set.

Declared at: llvm/include/llvm-c/Disassembler.h:50

Parameters

const char* Triple
const char* CPU
void* DisInfo
int TagType
LLVMOpInfoCallback GetOpInfo
LLVMSymbolLookupCallback SymbolLookUp