ΒΆLLVMBool LLVMGetTargetFromTriple(
    const char* Triple,
    LLVMTargetRef* T,
    char** ErrorMessage)

Description

Finds the target corresponding to the given triple and stores it in \p T. Returns 0 on success. Optionally returns any error in ErrorMessage. Use LLVMDisposeMessage to dispose the message.

Declared at: llvm/include/llvm-c/TargetMachine.h:82

Parameters

const char* Triple
LLVMTargetRef* T
char** ErrorMessage