Home
last modified time | relevance | path

Searched refs:errorCodeToError (Results 1 – 25 of 77) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRemoteTargetServer.h129 return errorCodeToError(EC); in allocate()
140 return errorCodeToError(orcError(OrcErrorCode::RemoteMProtectAddrUnrecognized)); in setProtections()
141 return errorCodeToError( in setProtections()
225 return errorCodeToError( in handleCreateRemoteAllocator()
235 return errorCodeToError( in handleCreateIndirectStubsOwner()
254 return errorCodeToError( in handleDestroyRemoteAllocator()
264 return errorCodeToError( in handleDestroyIndirectStubsOwner()
278 return errorCodeToError( in handleEmitIndirectStubs()
302 return errorCodeToError(EC); in handleEmitResolverBlock()
309 return errorCodeToError(sys::Memory::protectMappedMemory( in handleEmitResolverBlock()
[all …]
H A DIndirectionUtils.h138 Err = errorCodeToError(EC); in LocalTrampolinePool()
151 Err = errorCodeToError(EC); in LocalTrampolinePool()
165 return errorCodeToError(EC); in grow()
183 return errorCodeToError(EC); in grow()
325 return errorCodeToError(EC); in create()
338 return errorCodeToError(EC); in create()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dobj2yaml.cpp23 return errorCodeToError(coff2yaml(outs(), cast<COFFObjectFile>(Obj))); in dumpObject()
26 return errorCodeToError(xcoff2yaml(outs(), cast<XCOFFObjectFile>(Obj))); in dumpObject()
32 return errorCodeToError(wasm2yaml(outs(), cast<WasmObjectFile>(Obj))); in dumpObject()
42 return errorCodeToError(EC); in dumpInput()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DFileOutputBuffer.cpp102 return errorCodeToError(EC); in commit()
122 return errorCodeToError(EC); in createInMemoryBuffer()
136 return errorCodeToError(EC); in createOnDiskBuffer()
184 return errorCodeToError(errc::is_a_directory); in create()
H A DPath.cpp1202 return errorCodeToError(EC); in discard()
1219 return errorCodeToError(RemoveEC); in discard()
1261 return errorCodeToError(EC); in keep()
1265 return errorCodeToError(RenameEC); in keep()
1275 return errorCodeToError(EC); in keep()
1284 return errorCodeToError(EC); in keep()
1296 return errorCodeToError(EC); in create()
1304 return errorCodeToError(EC); in create()
H A DInitLLVM.cpp52 ExitOnErr(errorCodeToError(windows::GetCommandLineArguments(Args, Alloc))); in InitLLVM()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DBinary.cpp84 return errorCodeToError(object_error::invalid_file_type); in createBinary()
88 return errorCodeToError(object_error::invalid_file_type); in createBinary()
103 return errorCodeToError(EC); in createBinary()
H A DIRObjectFile.cpp81 return errorCodeToError(object_error::bitcode_section_not_found); in findBitcodeInObject()
86 return errorCodeToError(object_error::bitcode_section_not_found); in findBitcodeInObject()
106 return errorCodeToError(object_error::invalid_file_type); in findBitcodeInMemBuffer()
H A DObjectFile.cpp150 return errorCodeToError(object_error::invalid_file_type); in createObjectFile()
152 return errorCodeToError(object_error::invalid_file_type); in createObjectFile()
190 return errorCodeToError(EC); in createObjectFile()
H A DCOFFObjectFile.cpp443 return errorCodeToError(object_error::parse_failed); in initSymbolTablePtr()
477 return errorCodeToError(object_error::parse_failed); in getRvaPtr()
497 return errorCodeToError(object_error::parse_failed); in getRvaAndSizeAsBytes()
521 return errorCodeToError(object_error::parse_failed); in getDebugPDBInfo()
642 return errorCodeToError(object_error::parse_failed); in initDebugDirectoryPtr()
727 return errorCodeToError(EC); in initialize()
745 return errorCodeToError(object_error::parse_failed); in initialize()
781 return errorCodeToError(EC); in initialize()
801 return errorCodeToError(object_error::parse_failed); in initialize()
830 return errorCodeToError(object_error::parse_failed); in initialize()
[all …]
H A DArchiveWriter.cpp88 return errorCodeToError(EC); in getFile()
94 return errorCodeToError(make_error_code(errc::is_a_directory)); in getFile()
99 return errorCodeToError(MemberBufferOrErr.getError()); in getFile()
102 return errorCodeToError(EC); in getFile()
545 return errorCodeToError(std::error_code(errno, std::generic_category())); in computeArchiveRelativePath()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DBinaryHolder.cpp54 return errorCodeToError(Err); in load()
97 return errorCodeToError(Err); in load()
102 return errorCodeToError(Stat.getError()); in load()
161 return errorCodeToError(object::object_error::arch_not_found); in getObject()
228 return errorCodeToError(errc::no_such_file_or_directory); in getObjectEntry()
H A DReproducer.cpp70 return errorCodeToError(EC); in createReproducer()
78 return errorCodeToError(EC); in createReproducer()
H A Ddsymutil.cpp141 return errorCodeToError(EC); in getInputs()
148 return errorCodeToError(EC); in getInputs()
322 "cannot create Plist: " + toString(errorCodeToError(EC)), EC); in createPlistFile()
385 "cannot create bundle: " + toString(errorCodeToError(EC)), EC); in createBundleDir()
H A DDwarfLinkerForBinary.cpp119 "cannot create directory: " + toString(errorCodeToError(EC)), EC); in copySwiftInterfaces()
139 ": " + toString(errorCodeToError(EC))); in copySwiftInterfaces()
243 return errorCodeToError(EC); in emitRemarks()
260 return errorCodeToError(EC); in emitRemarks()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DFileManager.cpp76 return llvm::errorCodeToError( in getDirectoryFromFile()
80 return llvm::errorCodeToError(make_error_code(std::errc::is_a_directory)); in getDirectoryFromFile()
146 return llvm::errorCodeToError(SeenDirInsertResult.first->second.getError()); in getDirectoryRef()
168 return llvm::errorCodeToError(statError); in getDirectoryRef()
212 return llvm::errorCodeToError( in getFileRef()
245 return llvm::errorCodeToError(Err); in getFileRef()
264 return llvm::errorCodeToError(statError); in getFileRef()
350 return llvm::errorCodeToError(ContentOrError.getError()); in getSTDIN()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp56 return errorCodeToError(EC); in allocate()
66 return errorCodeToError(EC); in allocate()
107 return errorCodeToError(EC); in allocate()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DFDRawByteChannel.h43 return llvm::errorCodeToError( in readBytes()
61 return llvm::errorCodeToError( in appendBytes()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp1003 reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1030 return reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1040 return reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1071 reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1079 reportError(errorCodeToError(EC), Obj->getFileName()); in printCodeViewSymbolSection()
1084 reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1105 reportError(errorCodeToError(EC), Obj->getFileName()); in printCodeViewSymbolSection()
1175 reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1271 reportError(errorCodeToError(object_error::parse_failed), in getFileNameForFileOffset()
1278 reportError(errorCodeToError(object_error::parse_failed), in getFileNameForFileOffset()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/LTO/
H A DCaching.cpp34 return errorCodeToError(EC); in localCache()
113 return errorCodeToError(EC); in localCache()
/netbsd-src/external/apache2/llvm/dist/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp49 llvm::errorCodeToError(std::make_error_code(std::errc::not_supported))); in create()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
H A DSourceCoverageView.cpp64 return errorCodeToError(E); in createOutputStream()
71 return errorCodeToError(E); in createOutputStream()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-modextract/
H A Dllvm-modextract.cpp58 ExitOnErr(errorCodeToError(EC)); in main()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DError.h1105 friend Error errorCodeToError(std::error_code);
1133 Error errorCodeToError(std::error_code EC);
1144 return errorCodeToError(EC); in errorOrToExpected()
1291 return createFileError(F, errorCodeToError(EC)); in createFileError()
1297 return createFileError(F, Line, errorCodeToError(EC)); in createFileError()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp117 fatalOpenError(errorCodeToError(MaybeBuf.getError()), Arg->getValue()); in doList()
344 fatalOpenError(errorCodeToError(MOrErr.getError()), Path); in libDriverMain()

1234