Searched refs:Err (Results 51 - 75 of 249) sorted by relevance

12345678910

/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DInlineInfo.cpp110 llvm::Error &Err) {
134 Done = lookup(GR, Data, Offset, ChildBaseAddr, Addr, SrcLocs, Err);
139 Err = createStringError(std::errc::invalid_argument,
160 llvm::Error Err = Error::success(); local
161 ::lookup(GR, Data, Offset, BaseAddr, Addr, SrcLocs, Err);
162 return Err;
250 llvm::Error Err = Child.encode(O, ChildBaseAddr); local
251 if (Err)
252 return Err;
108 lookup(const GsymReader &GR, DataExtractor &Data, uint64_t &Offset, uint64_t BaseAddr, uint64_t Addr, SourceLocations &SrcLocs, llvm::Error &Err) argument
H A DHeader.cpp80 if (llvm::Error Err = H.checkForError())
81 return std::move(Err);
87 if (llvm::Error Err = checkForError())
88 return Err;
H A DGsymReader.cpp38 auto Err = BuffOrErr.getError(); local
39 if (Err)
40 return llvm::errorCodeToError(Err);
55 llvm::Error Err = GR.parse(); local
56 if (Err)
57 return std::move(Err);
101 if (Error Err = Hdr->checkForError())
102 return Err;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DOrcCBindingsStack.h139 } else if (auto Err = Sym.takeError()) {
140 Stack.reportError(std::move(Err));
162 } else if (auto Err = Sym.takeError()) {
163 Stack.ES.legacyFailQuery(*Query, std::move(Err));
185 else if (auto Err = Sym.takeError())
190 else if (auto Err = Sym.takeError())
246 if (auto Err = DtorRunner.runViaLayer(*this))
247 return Err;
307 if (auto Err = Layer.addModule(K, std::move(M)))
308 return std::move(Err);
488 reportError(Error Err) argument
[all...]
H A DExecutionUtils.cpp264 Error Err = Error::success(); local
267 new StaticLibraryDefinitionGenerator(L, std::move(ArchiveBuffer), Err));
269 if (Err)
270 return std::move(Err);
308 if (auto Err =
310 return Err;
317 ObjectLayer &L, std::unique_ptr<MemoryBuffer> ArchiveBuffer, Error &Err)
319 Archive(std::make_unique<object::Archive>(*this->ArchiveBuffer, Err)) {}
316 StaticLibraryDefinitionGenerator( ObjectLayer &L, std::unique_ptr<MemoryBuffer> ArchiveBuffer, Error &Err) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp417 if (Error Err = tryRead(Signature[0], 8))
418 return std::move(Err);
419 if (Error Err = tryRead(Signature[1], 8))
420 return std::move(Err);
424 if (Error Err = tryRead(Signature[2], 8))
425 return std::move(Err);
426 if (Error Err = tryRead(Signature[3], 8))
427 return std::move(Err);
431 if (Error Err = tryRead(Signature[2], 8))
432 return std::move(Err);
[all...]
H A DBitcodeReader.cpp143 if (Error Err = hasInvalidBitcodeHeader(Stream))
144 return std::move(Err);
174 if (Error Err = Stream.EnterSubBlock(bitc::IDENTIFICATION_BLOCK_ID))
175 return std::move(Err);
246 if (Error Err = Stream.SkipBlock())
247 return std::move(Err);
259 if (Error Err = Stream.EnterSubBlock(bitc::MODULE_BLOCK_ID))
260 return std::move(Err);
326 if (Error Err = Stream.SkipBlock())
327 return std::move(Err);
844 errorToErrorCodeAndEmitErrors(LLVMContext &Ctx, Error Err) argument
[all...]
H A DBitReader.cpp43 if (Error Err = ModuleOrErr.takeError()) {
45 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) {
89 if (Error Err = ModuleOrErr.takeError()) {
91 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DOrcRemoteTargetClient.h198 if (auto Err = Client.registerEHFrames(EHFrame.Addr, EHFrame.Size)) {
200 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) {
345 if (auto Err = reserveStubs(1))
346 return Err;
352 if (auto Err = reserveStubs(StubInits.size()))
353 return Err;
356 if (auto Err = createStubInternal(Entry.first(), Entry.second.first,
358 return Err;
459 if (auto Err = grow())
460 return std::move(Err);
505 Error Err = Error::success(); local
586 OrcRemoteTargetClient(rpc::RawByteChannel &Channel, ExecutionSession &ES, Error &Err) argument
[all...]
H A DLLJIT.h131 LLJIT(LLJITBuilderState &S, Error &Err);
182 LLLazyJIT(LLLazyJITBuilderState &S, Error &Err);
263 if (auto Err = impl().prepareForConstruction())
264 return std::move(Err);
266 Error Err = Error::success();
267 std::unique_ptr<JITType> J(new JITType(impl(), Err));
268 if (Err)
269 return std::move(Err);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.cpp37 if (Error Err = M->materializeAll()) {
39 handleAllErrors(std::move(Err), [&](ErrorInfoBase &EIB) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DError.cpp80 llvm::Error llvm::object::isNotObjectErrorInvalidFileType(llvm::Error Err) { argument
81 return handleErrors(std::move(Err), [](std::unique_ptr<ECError> M) -> Error {
H A DMachOObjectFile.cpp225 Error &Err) {
227 Err = malformedError("the mach header extends past the end of the "
234 Err = HeaderOrErr.takeError();
358 if (Error Err = checkOverlappingElement(Elements, s.offset, s.size,
360 return Err;
374 if (Error Err = checkOverlappingElement(Elements, s.reloff, s.nreloc *
378 return Err;
439 if (Error Err = checkOverlappingElement(Elements, Symtab.symoff, SymtabSize,
441 return Err;
452 if (Error Err
224 parseHeader(const MachOObjectFile &Obj, T &Header, Error &Err) argument
1248 Error Err = Error::success(); local
1258 MachOObjectFile(MemoryBufferRef Object, bool IsLittleEndian, bool Is64bits, Error &Err, uint32_t UniversalCputype, uint32_t UniversalIndex) argument
3437 rebaseTable(Error &Err, MachOObjectFile *O, ArrayRef<uint8_t> Opcodes, bool is64) argument
3450 rebaseTable(Error &Err) argument
4107 bindTable(Error &Err, MachOObjectFile *O, ArrayRef<uint8_t> Opcodes, bool is64, MachOBindEntry::Kind BKind) argument
4121 bindTable(Error &Err) argument
4126 lazyBindTable(Error &Err) argument
4131 weakBindTable(Error &Err) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DMatchConsumer.h97 if (auto Err = eval(R, &Output))
98 return std::move(Err);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DTransformer.cpp53 if (auto Err = AC.replace(*Result.SourceManager, T.Range, T.Replacement)) {
54 Consumer(std::move(Err));
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.h24 LLVM_ATTRIBUTE_NORETURN void reportError(Error Err, StringRef Input);
25 void reportWarning(Error Err, StringRef Input);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DDynamicLibrary.cpp35 static void *DLOpen(const char *Filename, std::string *Err);
149 std::string *Err) {
154 void *Handle = HandleSet::DLOpen(FileName, Err);
164 std::string *Err) {
168 *Err = "Library already loaded";
148 getPermanentLibrary(const char *FileName, std::string *Err) argument
163 addPermanentLibrary(void *Handle, std::string *Err) argument
H A DCompression.cpp27 static Error createError(StringRef Err) { argument
28 return make_error<StringError>(Err, inconvertibleErrorCode());
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h248 JITSymbol(Error Err) argument
249 : Err(std::move(Err)), Flags(JITSymbolFlags::HasError) {}
277 Err = std::move(Other.Err);
286 Err = std::move(Other.Err);
294 Err.~Error();
307 return std::move(Err);
332 Error Err; member in union:llvm::JITSymbol::__anon1490
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp712 if (auto Err = ImportTemplateArgumentListInfo(Container, ToTAInfo))
713 return Err;
743 if (Error Err = importInto(std::get<0>(Result), FTSInfo->getTemplate()))
744 return std::move(Err);
748 if (Error Err = ImportTemplateArguments(TemplArgs.data(), TemplArgs.size(),
750 return std::move(Err);
759 if (Error Err = ImportContainerChecked(*From, To))
760 return std::move(Err);
850 if (Error Err = ImportTemplateArguments(
852 return std::move(Err);
1767 Error Err = ImportDefinition(FromRecordDecl, ToRecordDecl); local
3452 Error Err = ImportFunctionDeclBody(D, ToFunction); local
8270 auto Err = getImportDeclErrorIfAny(FromD); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/
H A DDiagnosticsYaml.h41 llvm::Error Err = M.Fix[Fix.getFilePath()].add(Fix); local
42 if (Err) {
45 << llvm::toString(std::move(Err)) << "\n";
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmLexer.h45 std::string Err; member in class:llvm::MCAsmLexer
61 Err = err;
128 return Err;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp159 if (Error Err = JumpToBit(GetCurrentBitNo() +
161 return std::move(Err);
173 if (Error Err = JumpToBit(GetCurrentBitNo() + NumElts * 6))
174 return std::move(Err);
199 if (Error Err = JumpToBit(NewEnd))
200 return std::move(Err);
328 if (Error Err = JumpToBit(NewEnd))
329 return std::move(Err);
403 if (llvm::Error Err = EnterSubBlock(bitc::BLOCKINFO_BLOCK_ID))
404 return std::move(Err);
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.h62 ExitOnError Err; member in class:llvm::pdb::BytesOutputStyle
/freebsd-11-stable/contrib/llvm-project/llvm/lib/XRay/
H A DFDRRecordProducer.cpp103 if (auto Err = R->apply(RI))
104 return std::move(Err);
174 if (auto Err = R->apply(RI))
175 return std::move(Err);

Completed in 261 milliseconds

12345678910