Home
last modified time | relevance | path

Searched refs:writeInteger (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp51 writeInteger((uint64_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
53 writeInteger((uint32_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
55 writeInteger((uint16_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
57 writeInteger((uint8_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
170 writeInteger((uint8_t)AddrSize, OS, DI.IsLittleEndian); in emitDebugAranges()
229 writeInteger((uint16_t)Sect.Version, OS, IsLittleEndian); in emitPubSection()
231 writeInteger((uint32_t)Sect.UnitSize, OS, IsLittleEndian); in emitPubSection()
518 writeInteger((uint8_t)Op.Opcode, OS, IsLittleEndian); in writeLineTableOpcode()
543 writeInteger((uint16_t)Op.Data, OS, IsLittleEndian); in writeLineTableOpcode()
590 writeInteger(OpcodeBase, BufferOS, DI.IsLittleEndian); in emitDebugLine()
[all …]
H A DCodeViewYAMLTypeHashing.cpp74 cantFail(Writer.writeInteger(DebugH.Magic)); in toDebugH()
75 cantFail(Writer.writeInteger(DebugH.Version)); in toDebugH()
76 cantFail(Writer.writeInteger(DebugH.HashAlgorithm)); in toDebugH()
H A DCOFFEmitter.cpp190 Err(Writer.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC)); in toDebugS()
H A DCodeViewYAMLTypes.cpp819 Err(Writer.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC)); in toDebugT()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp139 if (auto EC = Writer->writeInteger(TypeInd.getIndex())) in mapInteger()
341 if (auto EC = Writer->writeInteger<int16_t>(Value)) in writeEncodedSignedInteger()
345 if (auto EC = Writer->writeInteger<uint16_t>(LF_CHAR)) in writeEncodedSignedInteger()
347 if (auto EC = Writer->writeInteger<int8_t>(Value)) in writeEncodedSignedInteger()
353 if (auto EC = Writer->writeInteger<int16_t>(Value)) in writeEncodedSignedInteger()
359 if (auto EC = Writer->writeInteger<int32_t>(Value)) in writeEncodedSignedInteger()
364 if (auto EC = Writer->writeInteger(Value)) in writeEncodedSignedInteger()
372 if (auto EC = Writer->writeInteger<uint16_t>(Value)) in writeEncodedUnsignedInteger()
377 if (auto EC = Writer->writeInteger<uint16_t>(Value)) in writeEncodedUnsignedInteger()
382 if (auto EC = Writer->writeInteger<uint32_t>(Value)) in writeEncodedUnsignedInteger()
[all …]
H A DDebugCrossExSubsection.cpp47 if (auto EC = Writer.writeInteger(M.first)) in commit()
49 if (auto EC = Writer.writeInteger(M.second)) in commit()
H A DSymbolSerializer.cpp50 if (auto EC = Writer.writeInteger(Length)) in visitSymbolEnd()
H A DDebugFrameDataSubsection.cpp47 if (auto EC = Writer.writeInteger<uint32_t>(0)) in commit()
H A DSimpleTypeSerializer.cpp26 cantFail(Writer.writeInteger(Pad)); in addPadding()
H A DDebugInlineeLinesSubsection.cpp99 if (auto EC = Writer.writeInteger<uint32_t>(E.ExtraFiles.size())) in commit()
H A DContinuationRecordBuilder.cpp29 cantFail(Writer.writeInteger(Pad)); in addPadding()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DHashTable.cpp49 if (auto EC = Writer.writeInteger(ReqWords)) in writeSparseBitVector()
62 if (auto EC = Writer.writeInteger(Word)) in writeSparseBitVector()
H A DDbiStreamBuilder.cpp198 if (auto EC = MetadataWriter.writeInteger(ModiCount)) // NumModules in generateFileInfoSubstream()
200 if (auto EC = MetadataWriter.writeInteger(FileCount)) // NumSourceFiles in generateFileInfoSubstream()
203 if (auto EC = MetadataWriter.writeInteger(I)) // Mod Indices in generateFileInfoSubstream()
208 if (auto EC = MetadataWriter.writeInteger(FileCount)) // Mod File Counts in generateFileInfoSubstream()
230 if (auto EC = MetadataWriter.writeInteger(Result->second)) in generateFileInfoSubstream()
432 if (auto EC = Writer.writeInteger(StreamNumber)) in commit()
H A DDbiModuleDescriptorBuilder.cpp174 if (auto EC = SymbolWriter.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC)) in commitSymbolStream()
191 if (auto E = SymbolWriter.writeInteger<uint32_t>(Fixup.StrTabOffset)) in commitSymbolStream()
205 if (auto EC = SymbolWriter.writeInteger<uint32_t>(0)) in commitSymbolStream()
H A DPDBStringTableBuilder.cpp177 if (auto EC = Writer.writeInteger(BucketCount)) in writeHashTable()
203 if (auto EC = Writer.writeInteger<uint32_t>(Strings.size())) in writeEpilogue()
H A DInfoStreamBuilder.cpp72 if (auto EC = Writer.writeInteger(0)) in commit()
H A DNamedStreamMap.cpp66 if (auto EC = Writer.writeInteger<uint32_t>(NamesBuffer.size())) in commit()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DBinaryStreamWriter.h58 template <typename T> Error writeInteger(T Value) { in writeInteger() function
73 return writeInteger<U>(static_cast<U>(Num)); in writeEnum()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRecordIO.h111 return Writer->writeInteger(Value);
160 if (auto EC = Writer->writeInteger(Size))
/llvm-project-15.0.7/llvm/unittests/Support/
H A DBinaryStreamTest.cpp539 ASSERT_THAT_ERROR(Writer.writeInteger(NS), Succeeded()); in TEST_F()
540 ASSERT_THAT_ERROR(Writer.writeInteger(NI), Succeeded()); in TEST_F()
541 ASSERT_THAT_ERROR(Writer.writeInteger(NUL), Succeeded()); in TEST_F()
842 EXPECT_THAT_ERROR(Writer.writeInteger('0'), Succeeded()); in TEST_F()
846 EXPECT_THAT_ERROR(Writer.writeInteger('*'), Succeeded()); in TEST_F()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/MSF/
H A DMappedBlockStreamTest.cpp338 EXPECT_THAT_ERROR(Writer.writeInteger(u16[0]), Succeeded()); in TEST()
347 EXPECT_THAT_ERROR(Writer.writeInteger(u32[0]), Succeeded()); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DHashTable.h194 if (auto EC = Writer.writeInteger(Entry.first)) in commit()
/llvm-project-15.0.7/llvm/lib/DebugInfo/MSF/
H A DMSFBuilder.cpp389 if (auto EC = DW.writeInteger<uint32_t>(Layout.StreamSizes.size())) in commit()