Home
last modified time | relevance | path

Searched refs:DiagnosticHandler (Results 1 – 11 of 11) sorted by relevance

/NextBSD/contrib/llvm/lib/IR/
HDLLVMContext.cpp142 void LLVMContext::setDiagnosticHandler(DiagnosticHandlerTy DiagnosticHandler, in setDiagnosticHandler() argument
145 pImpl->DiagnosticHandler = DiagnosticHandler; in setDiagnosticHandler()
151 return pImpl->DiagnosticHandler; in getDiagnosticHandler()
218 if (pImpl->DiagnosticHandler) { in diagnose()
220 pImpl->DiagnosticHandler(DI, pImpl->DiagnosticContext); in diagnose()
HDLLVMContextImpl.cpp42 DiagnosticHandler = nullptr; in LLVMContextImpl()
HDLLVMContextImpl.h933 LLVMContext::DiagnosticHandlerTy DiagnosticHandler;
/NextBSD/contrib/llvm/include/llvm/Linker/
HDLinker.h63 Linker(Module *M, DiagnosticHandlerFunction DiagnosticHandler);
80 DiagnosticHandlerFunction DiagnosticHandler);
85 void init(Module *M, DiagnosticHandlerFunction DiagnosticHandler);
90 DiagnosticHandlerFunction DiagnosticHandler; variable
/NextBSD/contrib/llvm/include/llvm/Bitcode/
HDReaderWriter.h39 DiagnosticHandlerFunction DiagnosticHandler = nullptr,
47 DiagnosticHandlerFunction DiagnosticHandler = nullptr);
54 DiagnosticHandlerFunction DiagnosticHandler = nullptr);
59 DiagnosticHandlerFunction DiagnosticHandler = nullptr);
/NextBSD/contrib/llvm/lib/Linker/
HDLinkModules.cpp425 DiagnosticHandlerFunction DiagnosticHandler; member in __anon68cc845a0211::ModuleLinker
432 DiagnosticHandlerFunction DiagnosticHandler, in ModuleLinker() argument
436 DiagnosticHandler(DiagnosticHandler), OverrideFromSrc(OverrideFromSrc) { in ModuleLinker()
447 DiagnosticHandler(LinkDiagnosticInfo(DS_Error, Message)); in emitError()
452 DiagnosticHandler(LinkDiagnosticInfo(DS_Warning, Message)); in emitWarning()
1730 void Linker::init(Module *M, DiagnosticHandlerFunction DiagnosticHandler) { in init() argument
1732 this->DiagnosticHandler = DiagnosticHandler; in init()
1744 Linker::Linker(Module *M, DiagnosticHandlerFunction DiagnosticHandler) { in Linker() argument
1745 init(M, DiagnosticHandler); in Linker()
1764 DiagnosticHandler, OverrideSymbols); in linkInModule()
[all …]
/NextBSD/contrib/llvm/lib/Bitcode/Reader/
HDBitcodeReader.cpp134 DiagnosticHandlerFunction DiagnosticHandler; member in __anon397f91170111::BitcodeReader
225 DiagnosticHandlerFunction DiagnosticHandler);
227 DiagnosticHandlerFunction DiagnosticHandler);
388 static std::error_code error(DiagnosticHandlerFunction DiagnosticHandler, in error() argument
391 DiagnosticHandler(DI); in error()
395 static std::error_code error(DiagnosticHandlerFunction DiagnosticHandler, in error() argument
397 return error(DiagnosticHandler, EC, EC.message()); in error()
400 static std::error_code error(DiagnosticHandlerFunction DiagnosticHandler, in error() argument
402 return error(DiagnosticHandler, in error()
407 return ::error(DiagnosticHandler, make_error_code(E), Message); in error()
[all …]
/NextBSD/contrib/llvm/include/llvm/LTO/
HDLTOCodeGenerator.h152 static void DiagnosticHandler(const DiagnosticInfo &DI, void *Context);
/NextBSD/contrib/llvm/lib/LTO/
HDLTOModule.cpp164 std::function<void(const DiagnosticInfo &)> DiagnosticHandler = in parseBitcodeFileImpl() local
174 parseBitcodeFile(*MBOrErr, Context, DiagnosticHandler); in parseBitcodeFileImpl()
185 DiagnosticHandler, true /*ShouldLazyLoadMetadata*/); in parseBitcodeFileImpl()
HDLTOCodeGenerator.cpp601 void LTOCodeGenerator::DiagnosticHandler(const DiagnosticInfo &DI, in DiagnosticHandler() function in LTOCodeGenerator
645 Context.setDiagnosticHandler(LTOCodeGenerator::DiagnosticHandler, this, in setDiagnosticHandler()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenAction.cpp180 Ctx.setDiagnosticHandler(DiagnosticHandler, this); in HandleTranslationUnit()
231 static void DiagnosticHandler(const llvm::DiagnosticInfo &DI, in DiagnosticHandler() function in clang::BackendConsumer