Home
last modified time | relevance | path

Searched refs:DiagHandler (Results 1 – 25 of 32) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/include/llvm/LTO/
H A DConfig.h177 DiagnosticHandlerFunction DiagHandler; member
296 LTOLLVMContext(const Config &C) : DiagHandler(C.DiagHandler) { in LTOLLVMContext()
300 std::make_unique<LTOLLVMDiagnosticHandler>(&DiagHandler), true); in LTOLLVMContext()
303 DiagnosticHandlerFunction DiagHandler; member
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DLLVMContext.cpp125 pImpl->DiagHandler->DiagHandlerCallback = DiagnosticHandler; in setDiagnosticHandlerCallBack()
126 pImpl->DiagHandler->DiagnosticContext = DiagnosticContext; in setDiagnosticHandlerCallBack()
132 pImpl->DiagHandler = std::move(DH); in setDiagnosticHandler()
191 return pImpl->DiagHandler->DiagHandlerCallback; in getDiagnosticHandlerCallBack()
195 return pImpl->DiagHandler->DiagnosticContext; in getDiagnosticContext()
254 if (pImpl->DiagHandler && in diagnose()
256 pImpl->DiagHandler->handleDiagnostics(DI)) in diagnose()
364 return pImpl->DiagHandler.get(); in getDiagHandlerPtr()
368 return std::move(pImpl->DiagHandler); in getDiagnosticHandler()
H A DLLVMContextImpl.cpp41 : DiagHandler(std::make_unique<DiagnosticHandler>()), in LLVMContextImpl()
H A DLLVMContextImpl.h1413 std::unique_ptr<DiagnosticHandler> DiagHandler;
/openbsd-src/gnu/llvm/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp729 assert(DiagHandler && "Invalid diagnostic handler"); in DiagnosticHandler()
730 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler()
746 LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler, in setDiagnosticHandler() argument
748 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
750 if (!DiagHandler) in setDiagnosticHandler()
769 if (DiagHandler) in emitError()
770 (*DiagHandler)(LTO_DS_ERROR, ErrMsg.c_str(), DiagContext); in emitError()
776 if (DiagHandler) in emitWarning()
777 (*DiagHandler)(LTO_DS_WARNING, ErrMsg.c_str(), DiagContext); in emitWarning()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DSourceMgr.h90 DiagHandlerTy DiagHandler = nullptr; variable
113 DiagHandler = DH;
117 DiagHandlerTy getDiagHandler() const { return DiagHandler; } in getDiagHandler()
H A DVirtualFileSystem.h620 llvm::SourceMgr::DiagHandlerTy DiagHandler,
1005 SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
1053 llvm::SourceMgr::DiagHandlerTy DiagHandler, StringRef YAMLFilePath,
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DYAMLTraits.cpp59 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
61 if (DiagHandler) in Input()
62 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
67 SourceMgr::DiagHandlerTy DiagHandler, void *DiagHandlerCtxt) in Input() argument
69 if (DiagHandler) in Input()
70 SrcMgr.setDiagHandler(DiagHandler, DiagHandlerCtxt); in Input()
H A DSourceMgr.cpp338 if (DiagHandler) { in PrintMessage()
339 DiagHandler(Diagnostic, DiagContext); in PrintMessage()
H A DVirtualFileSystem.cpp2131 SourceMgr::DiagHandlerTy DiagHandler, in create() argument
2137 SM.setDiagHandler(DiagHandler, DiagContext); in create()
2553 SourceMgr::DiagHandlerTy DiagHandler, in getVFSFromYAML() argument
2556 return RedirectingFileSystem::create(std::move(Buffer), DiagHandler, in getVFSFromYAML()
2598 SourceMgr::DiagHandlerTy DiagHandler, in collectVFSFromYAML() argument
2604 std::move(Buffer), DiagHandler, YAMLFilePath, DiagContext, in collectVFSFromYAML()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCContext.h110 DiagHandlerTy DiagHandler; variable
440 void setDiagnosticHandler(DiagHandlerTy DiagHandler) { in setDiagnosticHandler() argument
441 this->DiagHandler = DiagHandler; in setDiagnosticHandler()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSemaInternal.h330 DiagHandler = std::move(other.DiagHandler);
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCContext.cpp72 SrcMgr(mgr), InlineSrcMgr(nullptr), DiagHandler(defaultDiagHandler), in MCContext()
139 DiagHandler = defaultDiagHandler; in reset()
1011 assert(DiagHandler && "MCContext::DiagHandler is not set"); in diagnose()
1021 DiagHandler(SMD, UseInlineSrcMgr, *SMP, LocInfos); in diagnose()
1052 DiagHandler(D, UseInlineSrcMgr, *SMP, LocInfos); in reportCommon()
/openbsd-src/gnu/llvm/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h240 lto_diagnostic_handler_t DiagHandler = nullptr; member
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DLLVMContext.h170 DiagnosticHandler::DiagnosticHandlerTy DiagHandler,
/openbsd-src/gnu/llvm/lld/wasm/
H A DLTO.cpp51 c.DiagHandler = diagnosticHandler; in createLTO()
/openbsd-src/gnu/llvm/lld/COFF/
H A DLTO.cpp87 c.DiagHandler = diagnosticHandler; in createConfig()
/openbsd-src/gnu/llvm/lld/MachO/
H A DLTO.cpp63 c.DiagHandler = diagnosticHandler; in createConfig()
/openbsd-src/gnu/llvm/clang/include/clang/Format/
H A DFormat.h4366 llvm::SourceMgr::DiagHandlerTy DiagHandler,
4430 llvm::SourceMgr::DiagHandlerTy DiagHandler = nullptr,
/openbsd-src/gnu/llvm/lld/ELF/
H A DLTO.cpp126 c.DiagHandler = diagnosticHandler; in createConfig()
/openbsd-src/gnu/llvm/llvm/lib/TextAPI/
H A DTextStub.cpp1094 static void DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function
1112 yaml::Input YAMLIn(InputBuffer.getBuffer(), &Ctx, DiagHandler, &Ctx); in get()
/openbsd-src/gnu/llvm/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp347 Conf.DiagHandler = [&](const DiagnosticInfo &DI) { in run()
/openbsd-src/gnu/llvm/llvm/tools/gold/
H A Dgold-plugin.cpp909 Conf.DiagHandler = diagnosticHandler; in createLTO()
/openbsd-src/gnu/llvm/clang/tools/clang-linker-wrapper/
H A DClangLinkerWrapper.cpp523 Conf.DiagHandler = diagnosticHandler;
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DAsmParser.cpp331 static void DiagHandler(const SMDiagnostic &Diag, void *Context);
779 SrcMgr.setDiagHandler(DiagHandler, this); in AsmParser()
2448 void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) { in DiagHandler() function in AsmParser

12