Home
last modified time | relevance | path

Searched refs:getError (Results 1 – 25 of 135) sorted by relevance

123456

/src/contrib/llvm-project/llvm/lib/TargetParser/
H A DRISCVISAInfo.cpp321 static Error getError(const Twine &Message) { in getError() function
327 return getError("unsupported standard user-level extension '" + ExtName + in getErrorForInvalidExt()
330 return getError("unsupported " + getExtensionTypeDesc(ExtName) + " '" + in getErrorForInvalidExt()
356 return getError("minor version number missing after 'p' for extension '" + in getExtensionVersion()
362 return getError("Failed to parse major version number for extension '" + in getExtensionVersion()
366 return getError("Failed to parse minor version number for extension '" + in getExtensionVersion()
378 return getError( in getExtensionVersion()
384 return getError("requires '-menable-experimental-extensions' " in getExtensionVersion()
390 return getError( in getExtensionVersion()
403 return getError(Error); in getExtensionVersion()
[all …]
/src/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp514 if (std::error_code EC = Idx.getError()) in readStringIndex()
524 if (std::error_code EC = Idx.getError()) in readStringFromTable()
534 if (std::error_code EC = ContextIdx.getError()) in readContextFromTable()
549 if (std::error_code EC = FContext.getError()) in readSampleContextFromTable()
554 if (std::error_code EC = FName.getError()) in readSampleContextFromTable()
575 if (std::error_code EC = NumSamples.getError()) in readProfile()
581 if (std::error_code EC = NumRecords.getError()) in readProfile()
586 if (std::error_code EC = LineOffset.getError()) in readProfile()
594 if (std::error_code EC = Discriminator.getError()) in readProfile()
598 if (std::error_code EC = NumSamples.getError()) in readProfile()
[all …]
/src/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp24 return MaybeFile.getError(); in readFile()
29 return MaybeStat.getError(); in readFile()
34 return MaybeBuffer.getError(); in readFile()
193 return RealPath.getError(); in getOrEmplaceRealPathForFilename()
248 return Stat.getError(); in computeAndStoreResult()
250 getOrEmplaceSharedEntryForFilename(FilenameForLookup, Stat.getError()); in computeAndStoreResult()
266 TEntry.getError()); in computeAndStoreResult()
278 return FilenameForLookup.getError(); in getOrCreateFileSystemEntry()
285 return MaybeEntry.getError(); in getOrCreateFileSystemEntry()
299 return Result.getError(); in status()
[all …]
/src/contrib/llvm-project/clang/lib/Basic/
H A DFileSystemStatCache.cpp49 RetCode = StatusOrErr.getError(); in get()
65 RetCode = OwnedFile.getError(); in get()
78 RetCode = StatusOrErr.getError(); in get()
H A DFileManager.cpp167 return llvm::errorCodeToError(SeenDirInsertResult.first->second.getError()); in getDirectoryRef()
225 SeenFileInsertResult.first->second.getError()); in getFileRef()
368 return llvm::errorCodeToError(ContentOrError.getError()); in getSTDIN()
607 return S.getError(); in getNoncachedStatValue()
/src/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDataExtractor.h57 return getInitialLength(&getOffset(C), &getError(C)); in getInitialLength()
67 return getRelocatedValue(Size, &getOffset(C), SectionIndex, &getError(C));
77 &getError(C));
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DErrorOr.h152 std::error_code getError() const { in getError() function
178 new (getErrorStorage()) std::error_code(Other.getError()); in copyConstruct()
210 new (getErrorStorage()) std::error_code(Other.getError()); in moveConstruct()
266 return Err.getError() == Code;
/src/contrib/llvm-project/llvm/tools/llvm-cxxmap/
H A Dllvm-cxxmap.cpp150 exitWithErrorCode(OldSymbolBufOrError.getError(), OldSymbolFile); in main()
155 exitWithErrorCode(NewSymbolBufOrError.getError(), NewSymbolFile); in main()
160 exitWithErrorCode(RemappingBufOrError.getError(), RemappingFile); in main()
/src/contrib/llvm-project/lldb/source/Plugins/ObjectFile/JSON/
H A DObjectFileJSON.cpp75 LLDB_LOG_ERROR(log, root.getError(), in CreateInstance()
87 LLDB_LOG_ERROR(log, root.getError(), in CreateInstance()
133 LLDB_LOG_ERROR(log, root.getError(), in GetModuleSpecifications()
/src/contrib/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp123 return F.getError(); in getBufferForFile()
134 return WorkingDir.getError(); in makeAbsolute()
157 return StatusA.getError(); in equivalent()
160 return StatusB.getError(); in equivalent()
340 return WD->getError(); in getCurrentWorkingDirectory()
445 if (Status || Status.getError() != llvm::errc::no_such_file_or_directory) in status()
465 if (Result || Result.getError() != llvm::errc::no_such_file_or_directory) in openFileForRead()
1072 return Node.getError(); in status()
1079 return Node.getError(); in openFileForRead()
1149 EC = Node.getError(); in dir_begin()
[all …]
H A DCaching.cpp61 EC = MBOrErr.getError(); in localCache()
106 MBOrErr.getError().message() + "\n"); in localCache()
H A DFileUtilities.cpp185 if (std::error_code EC = F1OrErr.getError()) { in DiffFilesWithTolerance()
193 if (std::error_code EC = F2OrErr.getError()) { in DiffFilesWithTolerance()
/src/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitReader.cpp65 if (ModuleOrErr.getError()) { in LLVMParseBitcodeInContext2()
114 if (ModuleOrErr.getError()) { in LLVMGetBitcodeModuleInContext2()
/src/contrib/llvm-project/llvm/lib/IRReader/
H A DIRReader.cpp59 if (std::error_code EC = FileOrErr.getError()) { in getLazyIRFileModule()
99 if (std::error_code EC = FileOrErr.getError()) { in parseIRFile()
/src/contrib/llvm-project/lld/include/lld/Common/
H A DErrorHandler.h163 if (auto ec = e.getError()) in check()
183 if (auto ec = e.getError()) in check2()
/src/contrib/llvm-project/llvm/lib/AsmParser/
H A DParser.cpp65 if (std::error_code EC = FileOrErr.getError()) { in parseAssemblyFile()
108 if (std::error_code EC = FileOrErr.getError()) { in parseAssemblyFileWithIndex()
173 if (std::error_code EC = FileOrErr.getError()) { in parseSummaryIndexAssemblyFile()
/src/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h105 std::error_code getError() const { return MaybeStat.getError(); } in getError() function
316 return Entry.getError(); in unwrapError()
/src/contrib/llvm-project/llvm/tools/bugpoint/
H A DToolRunner.cpp228 Message = LLIPath.getError().message() + "\n"; in createLLI()
391 "' in PATH: " + Path.getError().message() + "\n"; in lexCommand()
515 Message = LLCPath.getError().message() + "\n"; in createLLC()
599 Message = LLIPath.getError().message() + "\n"; in createJIT()
848 CCPath.getError().message() + "\n"; in create()
857 Path.getError().message() + "\n"; in create()
H A DOptimizerDriver.cpp172 errs() << Path.getError().message() << "\n"; in runPasses()
188 errs() << Path.getError().message() << "\n"; in runPasses()
/src/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h335 static BitstreamEntry getError() { in getError() function
420 return BitstreamEntry::getError();
430 return BitstreamEntry::getError();
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DYaml.h38 if (Buffer.getError()) { in getConfiguration()
/src/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkUtilHelpers.cpp21 if (auto ErrorCode = MaybeBuf.getError()) in getInputMemoryBuffer()
/src/contrib/llvm-project/llvm/tools/llvm-cov/
H A Dgcov.cpp49 if (std::error_code EC = GCNO_Buff.getError()) { in reportCoverage()
62 if (std::error_code EC = GCDA_Buff.getError()) { in reportCoverage()
/src/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp101 if (std::error_code EC = MB.getError()) { in openFile()
135 fatalOpenError(errorCodeToError(MaybeBuf.getError()), Arg->getValue()); in doList()
476 fatalOpenError(errorCodeToError(MOrErr.getError()), Path); in libDriverMain()
/src/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp176 Res.getError(); in readMetaBlock()
228 Res.getError(); in readDiagnosticBlock()

123456