Lines Matching defs:WasmObjectWriter

1 //===- lib/MC/WasmObjectWriter.cpp - Wasm File Writer ---------------------===//
198 class WasmObjectWriter : public MCObjectWriter {
261 WasmObjectWriter(std::unique_ptr<MCWasmObjectTargetWriter> MOTW,
265 WasmObjectWriter(std::unique_ptr<MCWasmObjectTargetWriter> MOTW,
366 void WasmObjectWriter::startSection(SectionBookkeeping &Section,
385 void WasmObjectWriter::writeStringWithAlignment(const StringRef Str,
405 void WasmObjectWriter::startCustomSection(SectionBookkeeping &Section,
427 void WasmObjectWriter::endSection(SectionBookkeeping &Section) {
447 void WasmObjectWriter::writeHeader(const MCAssembler &Asm) {
452 void WasmObjectWriter::executePostLayoutBinding(MCAssembler &Asm) {
479 void WasmObjectWriter::recordRelocation(MCAssembler &Asm,
639 WasmObjectWriter::getProvisionalValue(const MCAssembler &Asm,
750 WasmObjectWriter::getRelocationIndexValue(const WasmRelocationEntry &RelEntry) {
763 void WasmObjectWriter::applyRelocations(
821 void WasmObjectWriter::writeTypeSection(
844 void WasmObjectWriter::writeImportSection(ArrayRef<wasm::WasmImport> Imports,
890 void WasmObjectWriter::writeFunctionSection(ArrayRef<WasmFunction> Functions) {
904 void WasmObjectWriter::writeTagSection(ArrayRef<uint32_t> TagTypes) {
920 void WasmObjectWriter::writeGlobalSection(ArrayRef<wasm::WasmGlobal> Globals) {
961 void WasmObjectWriter::writeTableSection(ArrayRef<wasm::WasmTable> Tables) {
981 void WasmObjectWriter::writeExportSection(ArrayRef<wasm::WasmExport> Exports) {
998 void WasmObjectWriter::writeElemSection(
1039 void WasmObjectWriter::writeDataCountSection() {
1049 uint32_t WasmObjectWriter::writeCodeSection(const MCAssembler &Asm,
1075 uint32_t WasmObjectWriter::writeDataSection(const MCAssembler &Asm) {
1106 void WasmObjectWriter::writeRelocSection(
1146 void WasmObjectWriter::writeCustomRelocSections() {
1153 void WasmObjectWriter::writeLinkingMetaDataSection(
1238 void WasmObjectWriter::writeCustomSection(WasmCustomSection &CustomSection,
1257 uint32_t WasmObjectWriter::getFunctionType(const MCSymbolWasm &Symbol) {
1263 uint32_t WasmObjectWriter::getTagType(const MCSymbolWasm &Symbol) {
1269 void WasmObjectWriter::registerFunctionType(const MCSymbolWasm &Symbol) {
1289 void WasmObjectWriter::registerTagType(const MCSymbolWasm &Symbol) {
1345 void WasmObjectWriter::prepareImports(
1450 uint64_t WasmObjectWriter::writeObject(MCAssembler &Asm) {
1464 uint64_t WasmObjectWriter::writeOneObject(MCAssembler &Asm,
1470 LLVM_DEBUG(dbgs() << "WasmObjectWriter::writeObject\n");
1979 return std::make_unique<WasmObjectWriter>(std::move(MOTW), OS);
1986 return std::make_unique<WasmObjectWriter>(std::move(MOTW), OS, DwoOS);