Home
last modified time | relevance | path

Searched refs:writeUleb128 (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/lld/wasm/
H A DSyntheticSections.cpp42 writeUleb128(to, type, "subsection type"); in writeTo()
43 writeUleb128(to, body.size(), "subsection size"); in writeTo()
68 writeUleb128(sub.os, memSize, "MemSize"); in writeBody()
69 writeUleb128(sub.os, memAlign, "MemAlign"); in writeBody()
71 writeUleb128(sub.os, 0, "TableAlign"); in writeBody()
354 writeUleb128(os, 1, "memory count"); in writeBody()
558 writeUleb128(os, 1, "segment count"); in writeBody()
628 writeUleb128(sub.os, flags, "sym flags"); in writeBody()
770 writeUleb128(sub.os, count, "name count"); in writeBody()
797 writeUleb128(sub.os, count, "name count"); in writeBody()
[all …]
H A DWriterUtils.cpp128 writeUleb128(os, sig.Params.size(), "param Count"); in writeSig()
132 writeUleb128(os, sig.Returns.size(), "result Count"); in writeSig()
157 writeUleb128(os, alignment, "alignment"); in writeMemArg()
158 writeUleb128(os, offset, "offset"); in writeMemArg()
195 writeUleb128(os, limits.Minimum, "limits min"); in writeLimits()
197 writeUleb128(os, limits.Maximum, "limits max"); in writeLimits()
242 writeUleb128(os, export_.Index, "function index"); in writeExport()
245 writeUleb128(os, export_.Index, "global index"); in writeExport()
248 writeUleb128(os, export_.Index, "tag index"); in writeExport()
251 writeUleb128(os, export_.Index, "memory index"); in writeExport()
[all …]
H A DWriter.cpp1116 writeUleb128(os, 0, "local 0"); in createInitMemoryFunction()
1133 writeUleb128(os, 0, "local 0"); in createInitMemoryFunction()
1157 writeUleb128(os, 0, "label $init"); in createInitMemoryFunction()
1158 writeUleb128(os, 1, "label $wait"); in createInitMemoryFunction()
1281 writeUleb128(os, 0, "num locals"); in createStartFunction()
1308 writeUleb128(os, 0, "num locals"); in createApplyDataRelocationsFunction()
1327 writeUleb128(os, 0, "num locals"); in createApplyGlobalRelocationsFunction()
1343 writeUleb128(os, 0, "num locals"); in createApplyGlobalTLSRelocationsFunction()
1363 writeUleb128(os, 0, "num locals"); in createCallCtorsFunction()
1388 writeUleb128(os, 0, "num locals"); in createCommandExportWrapper()
[all …]
H A DOutputSections.cpp44 writeUleb128(os, bodySize, "section size"); in createHeader()
52 writeUleb128(os, functions.size(), "function count"); in finalizeContents()
115 writeUleb128(os, segmentCount, "data segment count"); in finalizeContents()
124 writeUleb128(os, segment->initFlags, "init flags"); in finalizeContents()
126 writeUleb128(os, 0, "memory index"); in finalizeContents()
130 writeUleb128(os, WasmSym::memoryBase->getGlobalIndex(), in finalizeContents()
150 writeUleb128(os, segment->size, "segment size"); in finalizeContents()
H A DInputChunks.cpp181 writeUleb128(os, rel.Type, "reloc type"); in writeRelocations()
182 writeUleb128(os, rel.Offset + off, "reloc offset"); in writeRelocations()
183 writeUleb128(os, file->calcNewIndex(rel), "reloc index"); in writeRelocations()
394 writeUleb128(os, WasmSym::memoryBase->getGlobalIndex(), "memory_base"); in generateRelocationCode()
409 writeUleb128(os, sym->getGOTIndex(), "global index"); in generateRelocationCode()
422 writeUleb128(os, baseSymbol->getGlobalIndex(), "base"); in generateRelocationCode()
430 writeUleb128(os, 2, "align"); in generateRelocationCode()
431 writeUleb128(os, 0, "offset"); in generateRelocationCode()
H A DWriterUtils.h25 void writeUleb128(raw_ostream &os, uint64_t number, const Twine &msg);