void setInlineAsmDiagnosticHandler(InlineAsmDiagHandlerTy DiagHandler, void *DiagContext=0)
InlineAsmDiagHandlerTy getInlineAsmDiagnosticHandler() const
static bool isValidName(StringRef MDName)
isValidName - Return true if Name is a valid custom metadata handler name.
LLVMContext::InlineAsmDiagHandlerTy InlineAsmDiagHandler
void emitError(unsigned LocCookie, const Twine &ErrorStr)
static ManagedStatic< LLVMContext > GlobalContext
void getMDKindNames(SmallVectorImpl< StringRef > &Result) const
StringMap< unsigned > CustomMDKindNames
CustomMDKindNames - Map to hold the metadata string to ID mapping.
unsigned getMDKindID(StringRef Name) const
getMDKindID - Return a unique non-zero ID for the specified metadata kind.
void * InlineAsmDiagContext
LLVMContextImpl *const pImpl
SmallPtrSet< Module *, 4 > OwnedModules
void(* InlineAsmDiagHandlerTy)(const SMDiagnostic &, void *Context, unsigned LocCookie)
void * getInlineAsmDiagnosticContext() const