Home
last modified time | relevance | path

Searched refs:cantFail (Results 1 – 25 of 86) sorted by relevance

1234

/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypeHashing.cpp54 cantFail(Reader.readInteger(DHS.Magic)); in fromDebugH()
55 cantFail(Reader.readInteger(DHS.Version)); in fromDebugH()
56 cantFail(Reader.readInteger(DHS.HashAlgorithm)); in fromDebugH()
60 cantFail(Reader.readBytes(S, 8)); in fromDebugH()
74 cantFail(Writer.writeInteger(DebugH.Magic)); in toDebugH()
75 cantFail(Writer.writeInteger(DebugH.Version)); in toDebugH()
76 cantFail(Writer.writeInteger(DebugH.HashAlgorithm)); in toDebugH()
83 cantFail(Writer.writeFixedString(Hash)); in toDebugH()
H A DDWARFEmitter.cpp75 cantFail(writeVariableSizedInteger(dwarf::DW_LENGTH_DWARF64, 4, OS, in writeInitialLength()
77 cantFail( in writeInitialLength()
83 cantFail(writeVariableSizedInteger(Offset, Format == dwarf::DWARF64 ? 8 : 4, in writeDWARFOffset()
180 cantFail(writeVariableSizedInteger(Descriptor.Length, AddrSize, OS, in emitDebugAranges()
216 cantFail(writeVariableSizedInteger(Entry.HighOffset, AddrSize, OS, in emitDebugRanges()
393 cantFail(writeVariableSizedInteger(FormVal->Value, in writeDIE()
495 cantFail(writeVariableSizedInteger(Op.Data, AddrSize, OpBufferOS, in writeExtendedOpcode()
798 cantFail(WriteAddress(Entry.Values[1])); in writeListEntry()
891 cantFail(WriteAddress(Entry.Values[1])); in writeListEntry()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.cpp58 llvm::cantFail(TypeDeserializer::deserializeAs<ClassRecord>(type, cr)); in create()
68 llvm::cantFail(TypeDeserializer::deserializeAs<EnumRecord>(type, er)); in create()
211 cantFail(SymbolDeserializer::deserializeAs<RecordT>(sym, record)); in createRecord()
427 cantFail(TypeDeserializer::deserializeAs<ClassRecord>(cvt, cr)); in GetFieldListIndex()
432 cantFail(TypeDeserializer::deserializeAs<UnionRecord>(cvt, ur)); in GetFieldListIndex()
437 cantFail(TypeDeserializer::deserializeAs<EnumRecord>(cvt, er)); in GetFieldListIndex()
477 cantFail(SymbolDeserializer::deserializeAs<LocalSym>(sym, local)); in GetVariableNameInfo()
485 cantFail(SymbolDeserializer::deserializeAs<DataSym>(sym, data)); in GetVariableNameInfo()
557 PDBStringTable &strings = cantFail(index.pdb().getStringTable()); in GetFrameDataProgram()
822 return llvm::cantFail(tpi.findFullDeclForForwardRef(id.index)); in GetBestPossibleDecl()
[all …]
H A DCompileUnitIndex.cpp51 llvm::cantFail( in ParseCompile3()
57 llvm::cantFail( in ParseObjname()
64 llvm::cantFail(SymbolDeserializer::deserializeAs<BuildInfoSym>(sym, bis)); in ParseBuildInfo()
75 llvm::cantFail(TypeDeserializer::deserializeAs<BuildInfoRecord>(*cvt, bir)); in ParseBuildInfo()
140 cantFail(debug_stream.reload()); in GetOrCreateCompiland()
147 PDBStringTable &strings = cantFail(m_index.pdb().getStringTable()); in GetOrCreateCompiland()
211 llvm::cantFail( in GetMainSourceFile()
213 llvm::cantFail( in GetMainSourceFile()
H A DUdtRecordCompleter.cpp41 llvm::cantFail(TypeDeserializer::deserializeAs<EnumRecord>(cvt, m_cvr.er)); in UdtRecordCompleter()
44 llvm::cantFail(TypeDeserializer::deserializeAs<UnionRecord>(cvt, m_cvr.ur)); in UdtRecordCompleter()
48 llvm::cantFail(TypeDeserializer::deserializeAs<ClassRecord>(cvt, m_cvr.cr)); in UdtRecordCompleter()
148 cantFail(SymbolDeserializer::deserializeAs<ConstantSym>(result.second, in visitKnownMember()
219 llvm::cantFail(TypeDeserializer::deserializeAs<BitFieldRecord>(cvt, bfr)); in visitKnownMember()
258 llvm::cantFail(TypeDeserializer::deserializeAs<MethodOverloadListRecord>( in visitKnownMember()
H A DSymbolFileNativePDB.cpp352 cantFail(SymbolDeserializer::deserializeAs<BlockSym>(sym, block)); in CreateBlock()
386 cantFail(SymbolDeserializer::deserializeAs<ProcSym>(sym_record, proc)); in CreateFunction()
615 llvm::cantFail( in CreateType()
622 llvm::cantFail( in CreateType()
629 llvm::cantFail(TypeDeserializer::deserializeAs<ClassRecord>(cvt, cr)); in CreateType()
635 llvm::cantFail(TypeDeserializer::deserializeAs<EnumRecord>(cvt, er)); in CreateType()
641 llvm::cantFail(TypeDeserializer::deserializeAs<UnionRecord>(cvt, ur)); in CreateType()
647 llvm::cantFail(TypeDeserializer::deserializeAs<ArrayRecord>(cvt, ar)); in CreateType()
742 llvm::cantFail(SymbolDeserializer::deserializeAs<DataSym>(sym, ds)); in CreateGlobalVariable()
757 llvm::cantFail( in CreateGlobalVariable()
[all …]
H A DPdbAstBuilder.cpp428 llvm::cantFail(SymbolDeserializer::deserializeAs<PublicSym32>(sym, p)); in FindPublicSym()
617 llvm::cantFail( in GetParentDeclContext()
907 llvm::cantFail( in CreateType()
914 llvm::cantFail( in CreateType()
930 llvm::cantFail(TypeDeserializer::deserializeAs<ArrayRecord>(cvt, ar)); in CreateType()
942 llvm::cantFail( in CreateType()
997 llvm::cantFail(SymbolDeserializer::deserializeAs<ProcSym>(cvs, proc)); in GetOrCreateFunctionDecl()
1051 cantFail(SymbolDeserializer::deserializeAs<RegRelativeSym>(sym, reg)); in CreateFunctionParameters()
1058 cantFail(SymbolDeserializer::deserializeAs<RegisterSym>(sym, reg)); in CreateFunctionParameters()
1065 cantFail(SymbolDeserializer::deserializeAs<LocalSym>(sym, local)); in CreateFunctionParameters()
[all …]
H A DDWARFLocationExpression.cpp87 llvm::cantFail(TypeDeserializer::deserializeAs<ModifierRecord>(cvt, mfr)); in GetIntegralTypeInfo()
92 llvm::cantFail(TypeDeserializer::deserializeAs<PointerRecord>(cvt, pr)); in GetIntegralTypeInfo()
97 llvm::cantFail(TypeDeserializer::deserializeAs<EnumRecord>(cvt, er)); in GetIntegralTypeInfo()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSimpleTypeSerializer.cpp25 cantFail(Writer.writeInteger(Pad)); in addPadding()
41 cantFail(Writer.writeObject(DummyPrefix)); in serialize()
46 cantFail(Mapping.visitTypeBegin(CVT)); in serialize()
47 cantFail(Mapping.visitKnownRecord(CVT, Record)); in serialize()
48 cantFail(Mapping.visitTypeEnd(CVT)); in serialize()
H A DContinuationRecordBuilder.cpp29 cantFail(Writer.writeInteger(Pad)); in addPadding()
72 cantFail(Mapping.visitTypeBegin(Type)); in begin()
74 cantFail(SegmentWriter.writeObject(Prefix)); in begin()
87 cantFail(SegmentWriter.writeEnum(CVMR.Kind)); in writeMemberType()
90 cantFail(Mapping.visitMemberBegin(CVMR)); in writeMemberType()
91 cantFail(Mapping.visitKnownMember(CVMR, Record)); in writeMemberType()
92 cantFail(Mapping.visitMemberEnd(CVMR)); in writeMemberType()
176 cantFail(Mapping.visitTypeEnd(Type)); in end()
H A DRecordName.cpp327 cantFail(Mapping.visitSymbolBegin(Sym)); in getSymbolName()
328 cantFail(Mapping.visitKnownRecord(Sym, Const)); in getSymbolName()
329 cantFail(Mapping.visitSymbolEnd(Sym)); in getSymbolName()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DTypeReferenceTracker.cpp45 Tpi = &cantFail(File.pdb().getPDBTpiStream()); in TypeReferenceTracker()
65 cantFail(Reader.readArray(Symbols, Reader.getLength())); in mark()
77 SymbolStream &SymStream = cantFail(File.pdb().getPDBSymbolStream()); in mark()
78 GlobalsStream &GS = cantFail(File.pdb().getPDBGlobalsStream()); in mark()
155 cantFail(Tpi->findFullDeclForForwardRef(RefTI))); in markReferencedTypes()
H A DInputFile.cpp87 cantFail(Reader.readInteger(Magic)); in isCodeViewDebugSubsection()
99 cantFail(Reader.readArray(Subsections, Reader.bytesRemaining())); in isDebugSSection()
108 cantFail(Reader.readArray(Types, Reader.bytesRemaining())); in isDebugTSection()
382 auto &Stream = cantFail((Kind == kIds) ? pdb().getPDBIpiStream() in getOrCreateTypeCollection()
502 auto &Dbi = cantFail(Value.File->pdb().getPDBDbiStream()); in isEnd()
H A DExplainOutputStyle.cpp219 cantFail(File.pdb().getMsfBuffer().readBytes(FileOffset, 1, Bytes)); in explainPdbFpmBlockOffset()
256 DbiStream &Dbi = cantFail(File.pdb().getPDBDbiStream()); in explainPdbStreamOffset()
261 InfoStream &Info = cantFail(File.pdb().getPDBInfoStream()); in explainPdbStreamOffset()
363 cantFail(Reader.readArray(ModuleDescriptors, ModiSubstreamData.getLength())); in explainDbiModiSubstreamOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp49 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName()
55 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName()
61 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName()
71 cantFail(Strings.getStringForID(Entry.VFileNI), in getCode()
H A DNativeEnumGlobals.cpp26 GlobalsStream &GS = cantFail(Session.getPDBFile().getPDBGlobalsStream()); in NativeEnumGlobals()
27 SymbolStream &SS = cantFail(Session.getPDBFile().getPDBSymbolStream()); in NativeEnumGlobals()
H A DPDBFileBuilder.cpp227 uint32_t SN = cantFail(getNamedStreamIndex("/src/headerblock")); in commitSrcHeaderBlock()
237 cantFail(Writer.writeObject(Header)); in commitSrcHeaderBlock()
238 cantFail(InjectedSourceTable.commit(Writer)); in commitSrcHeaderBlock()
251 uint32_t SN = cantFail(getNamedStreamIndex(IS.StreamName)); in commitInjectedSources()
257 cantFail(SourceWriter.writeBytes( in commitInjectedSources()
H A DNativeInlineSiteSymbol.cpp75 cantFail(TypeDeserializer::deserializeAs<MemberFuncIdRecord>(InlineeType, in getName()
82 cantFail( in getName()
H A DNativeTypeFunctionSig.cpp102 TpiStream &Tpi = cantFail(Session.getPDBFile().getPDBTpiStream()); in initializeArgList()
105 cantFail(TypeDeserializer::deserializeAs<ArgListRecord>(CVT, ArgList)); in initializeArgList()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackendDarwin.h26 Subtype((MachO::CPUSubTypeARM)cantFail( in ARMAsmBackendDarwin()
32 /*Is64Bit=*/false, cantFail(MachO::getCPUType(TT)), Subtype); in createObjectTargetWriter()
/freebsd-13.1/contrib/llvm-project/llvm/lib/XRay/
H A DProfile.cpp32 B.PathData.push_back({internPath(cantFail(O.expandPath(PathData.first))), in Profile()
210 Merged.internPath(cantFail(P.get().expandPath(PathID))); in mergeProfilesByThread()
226 cantFail( in mergeProfilesByThread()
243 Merged.internPath(cantFail(P.get().expandPath(PathId))); in mergeProfilesByStack()
258 cantFail(Merged.addBlock({0, std::move(Block)})); in mergeProfilesByStack()
/freebsd-13.1/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp207 int64_t LeftValue = cantFail(LeftOperand.getSignedValue()); in operator +()
208 int64_t RightValue = cantFail(RightOperand.getSignedValue()); in operator +()
225 uint64_t LeftValue = cantFail(LeftOperand.getUnsignedValue()); in operator +()
239 int64_t LeftValue = cantFail(LeftOperand.getSignedValue()); in operator -()
261 uint64_t LeftValue = cantFail(LeftOperand.getUnsignedValue()); in operator -()
307 uint64_t LeftValue = cantFail(LeftOperand.getUnsignedValue()); in operator *()
340 int64_t LeftValue = cantFail(LeftOperand.getSignedValue()); in max()
359 if (cantFail(max(LeftOperand, RightOperand)) == LeftOperand) in min()
1120 MatchRegexp = cantFail(Format.getWildcardRegex()); in parsePattern()
2445 cantFail( in CheckDag()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/orc/
H A Derror.h388 inline void cantFail(Error Err) { in cantFail() function
395 template <typename T> T cantFail(Expected<T> E) { in cantFail() function
403 template <typename T> T &cantFail(Expected<T &> E) { in cantFail() function
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DScriptInterpreterLua.cpp47 llvm::cantFail(m_script_interpreter.GetLua().ChangeIO( in IOHandlerLuaInterpreter()
50 llvm::cantFail(m_script_interpreter.EnterSession(debugger.GetID())); in IOHandlerLuaInterpreter()
54 llvm::cantFail(m_script_interpreter.LeaveSession()); in ~IOHandlerLuaInterpreter()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DCOFFImportDumper.cpp53 cantFail(Sym.printName(OS)); in dumpCOFFImportFile()

1234