Home
last modified time | relevance | path

Searched refs:DiagInfo (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp45 AsmPrinter::SrcMgrDiagInfo *DiagInfo = in srcMgrDiagHandler() local
47 assert(DiagInfo && "Diagnostic context not passed down?"); in srcMgrDiagHandler()
50 unsigned BufNum = DiagInfo->SrcMgr.FindBufferContainingLoc(Diag.getLoc()); in srcMgrDiagHandler()
52 if (BufNum > 0 && BufNum <= DiagInfo->LocInfos.size()) in srcMgrDiagHandler()
53 LocInfo = DiagInfo->LocInfos[BufNum-1]; in srcMgrDiagHandler()
69 DiagInfo->DiagHandler(Diag, DiagInfo->DiagContext, LocCookie); in srcMgrDiagHandler()
74 if (!DiagInfo) { in addInlineAsmDiagBuffer()
75 DiagInfo = std::make_unique<SrcMgrDiagInfo>(); in addInlineAsmDiagBuffer()
78 Context.setInlineSourceManager(&DiagInfo->SrcMgr); in addInlineAsmDiagBuffer()
82 DiagInfo->DiagHandler = LLVMCtx.getInlineAsmDiagnosticHandler(); in addInlineAsmDiagBuffer()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DAsmPrinter.h190 mutable std::unique_ptr<SrcMgrDiagInfo> DiagInfo; variable