Home
last modified time | relevance | path

Searched refs:Err (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDataExtractor.cpp41 T DataExtractor::getU(uint64_t *offset_ptr, Error *Err) const { in getU()
42 ErrorAsOutParameter ErrAsOut(Err); in getU()
44 if (isError(Err)) in getU()
48 if (!prepareRead(offset, sizeof(T), Err)) in getU()
61 Error *Err) const { in getUs()
62 ErrorAsOutParameter ErrAsOut(Err); in getUs()
63 if (isError(Err)) in getUs()
68 if (!prepareRead(offset, sizeof(*dst) * count, Err)) in getUs()
72 *value_ptr = getU<T>(offset_ptr, Err); in getUs()
80 uint8_t DataExtractor::getU8(uint64_t *offset_ptr, llvm::Error *Err) cons
196 getLEB128(StringRef Data,uint64_t * OffsetPtr,Error * Err,T (& Decoder)(const uint8_t * p,unsigned * n,const uint8_t * end,const char ** error)) getLEB128() argument
[all...]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp229 ExplicitSpecifier importExplicitSpecifier(Error &Err,
650 template <typename T> T importChecked(Error &Err, const T &From) { in importChecked() argument
652 if (Err) in importChecked()
656 Err = MaybeVal.takeError(); in importChecked()
714 if (auto Err = ImportTemplateArgumentListInfo(Container, ToTAInfo)) in ImportTemplateArgumentListInfo() local
715 return Err; in ImportTemplateArgumentListInfo()
745 if (Error Err = importInto(std::get<0>(Result), FTSInfo->getTemplate())) in ImportFunctionTemplateWithTemplateArgsFromSpecialization() local
746 return std::move(Err); in ImportFunctionTemplateWithTemplateArgsFromSpecialization()
749 if (Error Err = ImportTemplateArguments(FTSInfo->TemplateArguments->asArray(), in ImportFunctionTemplateWithTemplateArgsFromSpecialization() local
751 return std::move(Err); in ImportFunctionTemplateWithTemplateArgsFromSpecialization()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DParser.cpp25 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto() argument
33 return LLParser(F.getBuffer(), SM, Err, M, Index, in parseAssemblyInto()
39 ModuleSummaryIndex *Index, SMDiagnostic &Err, in parseAssemblyInto() argument
42 return ::parseAssemblyInto(F, M, Index, Err, Slots, in parseAssemblyInto()
47 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context, in parseAssembly() argument
53 if (parseAssemblyInto(F, M.get(), nullptr, Err, Slots, DataLayoutCallback)) in parseAssembly()
60 SMDiagnostic &Err, in parseAssemblyFile() argument
66 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFile()
71 return parseAssembly(FileOrErr.get()->getMemBufferRef(), Err, Context, Slots); in parseAssemblyFile()
75 parseAssemblyWithIndex(MemoryBufferRef F, SMDiagnostic &Err, in parseAssemblyWithIndex() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DDXContainer.cpp68 if (Error Err = readStruct(Part, Current, Header)) in parseDXILHeader() local
69 return Err; in parseDXILHeader()
79 if (Error Err = readInteger(Part, Part.begin(), FlagValue)) in parseShaderFeatureFlags() local
80 return Err; in parseShaderFeatureFlags()
89 if (Error Err = readStruct(Part, Part.begin(), ReadHash)) in parseHash() local
90 return Err; in parseHash()
106 if (Error Err = readStruct(Part, Part.begin(), SigHeader)) in initialize() local
107 return Err; in initialize()
135 if (Error Err = readInteger(Data.getBuffer(), Current, PartOffset)) in parsePartOffsets() local
136 return Err; in parsePartOffsets()
[all …]
H A DArchive.cpp97 uint64_t Size, Error *Err) in ArchiveMemberHeader() argument
102 ErrorAsOutParameter ErrAsOutParam(Err); in ArchiveMemberHeader()
105 *Err = createMemberHeaderParseError(this, RawHeaderPtr, Size); in ArchiveMemberHeader()
109 if (Err) { in ArchiveMemberHeader()
122 *Err = malformedError(Msg + "at offset " + Twine(Offset)); in ArchiveMemberHeader()
124 *Err = malformedError(Msg + "for " + NameOrErr.get()); in ArchiveMemberHeader()
132 uint64_t Size, Error *Err) in BigArchiveMemberHeader() argument
137 ErrorAsOutParameter ErrAsOutParam(Err); in BigArchiveMemberHeader()
140 if (Err) in BigArchiveMemberHeader()
141 *Err = malformedError("malformed AIX big archive: remaining buffer is " in BigArchiveMemberHeader()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DDataExtractor.h56 Error Err; variable
62 explicit Cursor(uint64_t Offset) : Offset(Offset), Err(Error::success()) {} in Cursor()
67 explicit operator bool() { return !Err; }
78 Error takeError() { return std::move(Err); } in takeError()
129 const char *getCStr(uint64_t *OffsetPtr, Error *Err = nullptr) const {
130 return getCStrRef(OffsetPtr, Err).data();
164 StringRef getCStrRef(uint64_t *OffsetPtr, Error *Err = nullptr) const;
170 return getCStrRef(&C.Offset, &C.Err); in getCStrRef()
234 Error *Err = nullptr) const;
240 return getBytes(&C.Offset, Length, &C.Err); in getBytes()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/
H A Dllvm-dwarfutil.cpp259 if (Error Err = writeToOutput( in saveSeparateDebugInfo()
262 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile, in saveSeparateDebugInfo()
264 return Err; in saveSeparateDebugInfo()
269 return std::move(Err); in saveSeparateDebugInfo() local
284 if (Error Err = writeToOutput( in saveNonDebugInfo()
286 if (Error Err = in saveNonDebugInfo()
288 return Err; in saveNonDebugInfo()
292 return Err; in saveNonDebugInfo()
304 if (Error Err = in splitDebugIntoSeparateFile()
306 return Err; in splitDebugIntoSeparateFile()
266 if (Error Err = writeToOutput( saveSeparateDebugInfo() local
291 if (Error Err = writeToOutput( saveNonDebugInfo() local
293 if (Error Err = saveNonDebugInfo() local
311 if (Error Err = splitDebugIntoSeparateFile() local
329 if (Error Err = setConfigToAddNewDebugSections(Config, *MemFile)) addSectionsFromLinkedData() local
337 if (Error Err = setConfigToAddNewDebugSections(Config, *MemFile)) addSectionsFromLinkedData() local
345 if (Error Err = setConfigToAddNewDebugSections(Config, *MemFile)) addSectionsFromLinkedData() local
353 if (Error Err = setConfigToAddNewDebugSections(Config, *MemFile)) addSectionsFromLinkedData() local
373 if (Error Err = saveSeparateLinkedDebugInfo() local
377 if (Error Err = writeToOutput( saveSeparateLinkedDebugInfo() local
381 if (Error Err = objcopy::executeObjcopyOnBinary(Config, InputFile, saveSeparateLinkedDebugInfo() local
401 if (Error Err = saveSingleLinkedDebugInfo() local
405 if (Error Err = writeToOutput( saveSingleLinkedDebugInfo() local
423 if (Error Err = saveLinkedDebugInfo() local
427 if (Error Err = saveSingleLinkedDebugInfo(Opts, InputFile, saveLinkedDebugInfo() local
441 if (Error Err = writeToOutput( saveCopyOfFile() local
458 if (Error Err = linkDebugInfo(InputFile, Opts, OutStream)) applyCLOptions() local
461 if (Error Err = applyCLOptions() local
467 if (Error Err = splitDebugIntoSeparateFile(Opts, InputFile)) applyCLOptions() local
470 if (Error Err = saveCopyOfFile(Opts, InputFile)) applyCLOptions() local
506 if (Error Err = validateAndSetOptions(Args, Opts)) main() local
533 if (Error Err = main() local
540 if (Error Err = PermsApplierOrErr->apply(Opts.OutputFileName)) main() local
544 if (Error Err = PermsApplierOrErr->apply(Opts.getSeparateDebugFileName())) main() local
548 if (Error Err = verifyOutput(Opts)) main() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/BTF/
H A DBTFParser.cpp35 // return Err("error while foo(): ") << E;
40 class Err {
45 Err(const char *InitialMsg) : Buffer(InitialMsg), Stream(Buffer) {} in Err()
46 Err(const char *SectionName, DataExtractor::Cursor &C) in Err()
52 template <typename T> Err &operator<<(T Val) { in operator <<()
57 Err &write_hex(unsigned long long Val) { in write_hex()
62 Err &operator<<(Error Val) { in operator <<()
112 return Err(".BTF", C); in parseBTF()
114 return Err("invalid .BTF magic: ").write_hex(Magic); in parseBTF()
117 return Err(" in parseBTF()
38 class Err { global() class
43 Err(const char *InitialMsg) : Buffer(InitialMsg), Stream(Buffer) {} Err() function in __anon6e4e2d460111::Err
44 Err(const char *SectionName, DataExtractor::Cursor &C) Err() function in __anon6e4e2d460111::Err
[all...]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DEHFrameSupport.cpp66 if (auto Err = PC.AddrToBlock.addBlocks(Sec.blocks(), in operator ()() local
68 return Err; in operator ()()
82 if (auto Err = processBlock(PC, *B)) in operator ()() local
83 return Err; in operator ()()
91 if (auto Err = R.readInteger(Length)) in readCFIRecordLength() local
92 return std::move(Err); in readCFIRecordLength()
100 if (auto Err = R.readInteger(ExtendedLength)) in readCFIRecordLength() local
101 return std::move(Err); in readCFIRecordLength()
166 if (auto Err = BlockReader.readInteger(CIEDelta)) in processBlock() local
167 return Err; in processBlock()
170 if (auto Err = processCIE(PC, B, RecordStartOffset, processBlock() local
175 if (auto Err = processFDE(PC, B, RecordStartOffset, processBlock() local
209 if (auto Err = RecordReader.readInteger(Version)) processCIE() local
222 if (auto Err = RecordReader.skip(PC.G.getPointerSize())) processCIE() local
228 if (auto Err = RecordReader.readULEB128(CodeAlignmentFactor)) processCIE() local
235 if (auto Err = RecordReader.readSLEB128(DataAlignmentFactor)) processCIE() local
240 if (auto Err = RecordReader.skip(1)) processCIE() local
248 if (auto Err = RecordReader.readULEB128(AugmentationDataLength)) processCIE() local
268 if (auto Err = processCIE() local
397 if (auto Err = skipEncodedPointer(CIEInfo->AddressEncoding, RecordReader)) processFDE() local
402 if (auto Err = RecordReader.readULEB128(AugmentationDataSize)) processFDE() local
406 if (auto Err = getOrCreateEncodedPointerEdge( processFDE() local
424 if (auto Err = RecordReader.readInteger(NextChar)) parseAugmentationString() local
433 if (auto Err = RecordReader.readInteger(NextChar)) parseAugmentationString() local
452 if (auto Err = RecordReader.readInteger(NextChar)) parseAugmentationString() local
465 if (auto Err = R.readInteger(PointerEncoding)) readPointerEncoding() local
508 if (auto Err = RecordReader.skip(4)) skipEncodedPointer() local
513 if (auto Err = RecordReader.skip(8)) skipEncodedPointer() local
544 if (auto Err = skipEncodedPointer(PointerEncoding, RecordReader)) getOrCreateEncodedPointerEdge() local
560 if (auto Err = RecordReader.readInteger(Val)) getOrCreateEncodedPointerEdge() local
567 if (auto Err = RecordReader.readInteger(Val)) getOrCreateEncodedPointerEdge() local
575 if (auto Err = RecordReader.readInteger(FieldValue)) getOrCreateEncodedPointerEdge() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp212 if (Error Err = setAlignment(Kind, Layout.ABIAlign, Layout.PrefAlign, in reset() local
214 return report_fatal_error(std::move(Err)); in reset()
216 if (Error Err = setPointerAlignmentInBits(0, Align(8), Align(8), 64, 64)) in reset() local
217 return report_fatal_error(std::move(Err)); in reset()
219 if (Error Err = parseSpecifier(Desc)) in reset() local
220 return report_fatal_error(std::move(Err)); in reset()
225 if (Error Err = Layout.parseSpecifier(LayoutDescription)) in parse() local
226 return std::move(Err); in parse()
258 if (Error Err = getInt<IntTy>(R, Result)) in getIntInBytes() local
259 return Err; in getIntInBytes()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp78 if (auto Err = readULEB128(Result)) in readIntMax() local
79 return Err; in readIntMax()
88 if (auto Err = readULEB128(Result)) in readSize() local
89 return Err; in readSize()
98 if (auto Err = readSize(Length)) in readString() local
99 return Err; in readString()
107 if (auto Err = readSize(NumFilenames)) in read() local
108 return Err; in read()
119 if (auto Err = readULEB128(UncompressedLen)) in read() local
120 return Err; in read()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DPipeline.cpp43 if (Error Err = runCycle()) in run() local
44 return std::move(Err); in run()
53 Error Err = ErrorSuccess(); in runCycle() local
55 for (auto I = Stages.rbegin(), E = Stages.rend(); I != E && !Err; ++I) { in runCycle()
58 Err = S->cycleResume(); in runCycle()
60 Err = S->cycleStart(); in runCycle()
68 while (!Err && FirstStage.isAvailable(IR)) in runCycle()
69 Err = FirstStage.execute(IR); in runCycle()
71 if (Err.isA<InstStreamPause>()) { in runCycle()
73 return Err; in runCycle()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/
H A DLVReaderHandler.cpp30 if (Error Err = createReaders()) in process() local
31 return Err; in process()
32 if (Error Err = printReaders()) in process() local
33 return Err; in process()
34 if (Error Err = compareReaders()) in process() local
35 return Err; in process()
76 Error Err = Error::success(); in handleArchive() local
77 for (const Archive::Child &Child : Arch.children(Err)) { in handleArchive()
79 if (Error Err = BuffOrErr.takeError()) in handleArchive() local
80 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleArchive()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleExecutorMemoryManager.cpp75 auto BailOut = [&](Error Err) { in finalize() argument
86 std::move(Err), in finalize()
97 Err = in finalize()
98 joinErrors(std::move(Err), FR.Actions[--SuccessfulFinalizationActions] in finalize()
104 Err = joinErrors(std::move(Err), errorCodeToError(EC)); in finalize()
106 return Err; in finalize()
143 if (auto Err = ActPair.Finalize.runWithSPSRetErrorMerged()) in finalize() local
144 return BailOut(std::move(Err)); in finalize()
157 Error Err = Error::success(); in deallocate() local
168 Err = joinErrors( in deallocate()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dfallible_iterator.h84 static fallible_iterator itr(Underlying I, Error &Err) { in itr() argument
85 (void)!!Err; in itr()
86 return fallible_iterator(std::move(I), &Err); in itr()
127 if (auto Err = I.inc()) variable
128 handleError(std::move(Err));
143 if (auto Err = I.dec()) variable
144 handleError(std::move(Err));
195 fallible_iterator(Underlying I, Error *Err) in fallible_iterator() argument
196 : I(std::move(I)), ErrState(Err, false) {} in fallible_iterator()
204 void handleError(Error Err) { in handleError() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DParser.h47 std::unique_ptr<Module> parseAssemblyFile(StringRef Filename, SMDiagnostic &Err,
63 SMDiagnostic &Err,
88 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
96 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
108 parseSummaryIndexAssemblyFile(StringRef Filename, SMDiagnostic &Err);
119 parseSummaryIndexAssemblyString(StringRef AsmString, SMDiagnostic &Err);
129 MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context,
144 SMDiagnostic &Err,
155 parseSummaryIndexAssembly(MemoryBufferRef F, SMDiagnostic &Err);
171 MemoryBufferRef F, Module *M, ModuleSummaryIndex *Index, SMDiagnostic &Err,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCOFFVCRuntimeSupport.cpp44 if (auto Err = loadVCRuntime(JD, ImportedLibraries, ArrayRef(VCLibs), in loadStaticVCRuntime() local
46 return std::move(Err); in loadStaticVCRuntime()
56 if (auto Err = loadVCRuntime(JD, ImportedLibraries, ArrayRef(VCLibs), in loadDynamicVCRuntime() local
58 return std::move(Err); in loadDynamicVCRuntime()
97 if (auto Err = LoadLibrary(Path.UCRTSdkLib, Lib)) in loadVCRuntime() local
98 return Err; in loadVCRuntime()
101 if (auto Err = LoadLibrary(Path.VCToolchainLib, Lib)) in loadVCRuntime() local
102 return Err; in loadVCRuntime()
113 if (auto Err = lookupAndRecordAddrs( in initializeStaticVCRuntime() local
122 return Err; in initializeStaticVCRuntime()
[all …]
H A DSimpleRemoteEPC.cpp68 if (auto Err = callSPSWrapper<rt::SPSRunAsMainSignature>( in runAsMain() local
70 return std::move(Err); in runAsMain()
76 if (auto Err = callSPSWrapper<rt::SPSRunAsVoidFunctionSignature>( in runAsVoidFunction() local
78 return std::move(Err); in runAsVoidFunction()
85 if (auto Err = callSPSWrapper<rt::SPSRunAsIntFunctionSignature>( in runAsIntFunction() local
87 return std::move(Err); in runAsIntFunction()
102 if (auto Err = sendMessage(SimpleRemoteEPCOpcode::CallWrapper, SeqNo, in callWrapperAsync() local
123 getExecutionSession().reportError(std::move(Err)); in callWrapperAsync()
173 if (auto Err = handleSetup(SeqNo, TagAddr, std::move(ArgBytes))) in handleMessage() local
174 return std::move(Err); in handleMessage()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDataExtractor.cpp17 DWARFDataExtractor::getInitialLength(uint64_t *Off, Error *Err) const { in getInitialLength()
18 ErrorAsOutParameter ErrAsOut(Err); in getInitialLength()
19 if (Err && *Err) in getInitialLength()
30 if (Err) in getInitialLength()
31 *Err = createStringError( in getInitialLength()
41 if (Err) in getInitialLength()
42 *Err = C.takeError(); in getInitialLength()
50 Error *Err) const { in getRelocatedValue()
54 return getUnsigned(Off, Size, Err); in getRelocatedValue()
56 ErrorAsOutParameter ErrAsOut(Err); in getRelocatedValue()
[all …]
H A DDWARFAbbreviationDeclaration.cpp41 Error Err = Error::success(); in extract() local
42 Code = Data.getULEB128(OffsetPtr, &Err); in extract()
43 if (Err) in extract()
44 return std::move(Err); in extract()
50 Tag = static_cast<llvm::dwarf::Tag>(Data.getULEB128(OffsetPtr, &Err)); in extract()
51 if (Err) in extract()
52 return std::move(Err); in extract()
59 uint8_t ChildrenByte = Data.getU8(OffsetPtr, &Err); in extract()
60 if (Err) in extract()
61 return std::move(Err); in extract()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVCompare.cpp156 if (Error Err = LHS->doPrint(/*Split=*/false, /*Match=*/false, in execute() local
158 return Err; in execute()
172 if (Error Err = CompareViews(ReferenceRoot, TargetRoot)) in execute() local
173 return Err; in execute()
179 if (Error Err = CompareViews(TargetRoot, ReferenceRoot)) in execute() local
180 return Err; in execute()
240 if (Error Err = Element->doPrint(/*Split=*/false, /*Match=*/false, in execute()
242 return Err; in execute()
254 if (Error Err = FindMatch(LHS->getScopes(), RHS->getScopes(), "Scopes")) in execute()
255 return Err; in execute() local
241 if (Error Err = Element->doPrint(/*Split=*/false, /*Match=*/false, execute() local
258 if (Error Err = execute() local
262 if (Error Err = FindMatch(LHS->getTypes(), RHS->getTypes(), "Types")) execute() local
265 if (Error Err = FindMatch(LHS->getLines(), RHS->getLines(), "Lines")) execute() local
282 if (Error Err = CompareReaders(ReferenceReader, TargetReader, ElementsToAdd, execute() local
286 if (Error Err = CompareReaders(TargetReader, ReferenceReader, ElementsToAdd, execute() local
335 if (Error Err = ReferenceReader->doPrint()) execute() local
[all...]
/freebsd/contrib/llvm-project/llvm/tools/opt/
H A DNewPMDriver.cpp242 if (auto Err = PB.parsePassPipeline(PM, PipelineOpt)) { in tryParsePipelineText() local
244 << " pipeline: " << toString(std::move(Err)) in tryParsePipelineText()
257 ExitOnError Err("Unable to parse PeepholeEP pipeline: "); in registerEPCallbacks() local
258 Err(PB.parsePassPipeline(PM, PeepholeEPPipeline)); in registerEPCallbacks()
264 ExitOnError Err("Unable to parse LateLoopOptimizationsEP pipeline: "); in registerEPCallbacks() local
265 Err(PB.parsePassPipeline(PM, LateLoopOptimizationsEPPipeline)); in registerEPCallbacks()
270 ExitOnError Err("Unable to parse LoopOptimizerEndEP pipeline: "); in registerEPCallbacks() local
271 Err(PB.parsePassPipeline(PM, LoopOptimizerEndEPPipeline)); in registerEPCallbacks()
277 ExitOnError Err("Unable to parse ScalarOptimizerLateEP pipeline: "); in registerEPCallbacks() local
278 Err(PB.parsePassPipeline(PM, ScalarOptimizerLateEPPipeline)); in registerEPCallbacks()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp255 if (Error Err = printFileNameForOffset("FileID", FileOffset, SG)) in collectInlineeInfo()
256 return Err; in collectInlineeInfo()
263 if (Error Err = printFileNameForOffset("FileID", FID, SG)) in collectInlineeInfo()
264 return Err; in collectInlineeInfo()
399 if (Error Err = loadDataForPDB(PDB_ReaderType::Native, ServerName, Session)) in loadTypeServer()
400 return createStringError(errorToErrorCode(std::move(Err)), "%s", in loadTypeServer()
421 if (Error Err = traverseTypes(Pdb, Types, Ids)) in loadTypeServer()
422 return Err; in loadTypeServer()
474 if (Error Err = consume(*DataOrErr, Magic)) in loadPrecompiledObject()
475 return Err; in loadPrecompiledObject()
401 if (Error Err = loadDataForPDB(PDB_ReaderType::Native, ServerName, Session)) loadTypeServer() local
423 if (Error Err = traverseTypes(Pdb, Types, Ids)) loadTypeServer() local
476 if (Error Err = consume(*DataOrErr, Magic)) loadPrecompiledObject() local
545 if (Error Err = consume(*DataOrErr, Magic)) traverseTypeSection() local
601 if (Error Err = VisitTypes(Types, Ids, StreamTPI)) traverseTypes() local
668 if (Error Err = initializeFileAndStringTables(FSReader)) traverseSymbolSection() local
699 if (Error Err = traverseSymbolSection() local
705 if (Error Err = traverseInlineeLines(Contents)) traverseSymbolSection() local
724 if (Error Err = resolveSymbolName(getObj().getCOFFSection(Section), traverseSymbolSection() local
784 if (Error Err = createLines(Block.LineNumbers, Addendum, Segment, Begin, traverseSymbolSection() local
791 if (Error Err = createInstructions(Function, SectionIndex)) traverseSymbolSection() local
853 if (Error Err = loadTargetInfo(Obj)) createScopes() local
870 if (Error Err = traverseTypeSection(*SectionNameOrErr, Section)) createScopes() local
882 if (Error Err = traverseSymbolSection(*SectionNameOrErr, Section)) createScopes() local
901 if (Error Err = loadTargetInfo(Pdb)) createScopes() local
955 if (Error Err = traverseTypes(Pdb, Types, Ids)) createScopes() local
971 if (Error Err = iterateModuleSubsections<DebugInlineeLinesSubsectionRef>( createScopes() local
996 if (Error Err = Traverser.visitSymbolBegin(Symbol, Offset)) createScopes() local
1014 if (Error Err = Visitor.visitSymbolRecord(*Sym, PubSymOff)) createScopes() local
1051 if (Error Err = createScopes() local
1063 if (Error Err = iterateSymbolGroups(Input, HeaderScope, VisitSymbolGroup)) createScopes() local
1091 if (Error Err = processModule()) createScopes() local
1098 if (Error Err = createLines(Block.LineNumbers, /*Addendum=*/0, Segment, createScopes() local
1105 if (Error Err = iterateModuleSubsections<DebugLinesSubsectionRef>( createScopes() local
1141 if (Error Err = createInstructions()) processModule() local
1168 if (Error Err = LVReader::createScopes()) createScopes() local
1174 if (Error Err = createScopes(getObj())) createScopes() local
1177 if (Error Err = createScopes(getPdb())) createScopes() local
[all...]
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DDirectoryScanner.cpp54 if (Error Err = scanHeaders(DirPublic->getName(), Lib, HeaderType::Public, in scanForUnwrappedLibraries() local
56 return Err; in scanForUnwrappedLibraries()
59 if (Error Err = scanHeaders(DirPrivate->getName(), Lib, HeaderType::Private, in scanForUnwrappedLibraries() local
61 return Err; in scanForUnwrappedLibraries()
162 if (Error Err = scanFrameworkDirectory(Curr, Framework)) in scanMultipleFrameworks() local
163 return Err; in scanMultipleFrameworks()
208 if (Error Err = scanFrameworkDirectory(Curr, VersionedFramework)) in scanFrameworkVersionsDirectory() local
209 return Err; in scanFrameworkVersionsDirectory()
246 if (Error Err = scanHeaders(Curr, Framework, HeaderType::Public, Curr)) in scanFrameworkDirectory() local
247 return Err; in scanFrameworkDirectory()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Derror.h157 template <typename ErrT> std::unique_ptr<ErrT> error_cast(Error &Err) { in error_cast() argument
160 if (Err.isA<ErrT>()) in error_cast()
161 return Err.takePayload<ErrT>(); in error_cast()
169 ErrorAsOutParameter(Error *Err) : Err(Err) { in ErrorAsOutParameter() argument
171 if (Err) in ErrorAsOutParameter()
172 (void)!!*Err; in ErrorAsOutParameter()
177 if (Err && !*Err) in ~ErrorAsOutParameter()
178 *Err = Error::success(); in ~ErrorAsOutParameter()
182 Error *Err;
202 Expected(Error Err) : HasError(true), Unchecked(true) { in Expected() argument
[all …]

12345678910>>...17