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,
747 WasmObjectWriter::getRelocationIndexValue(const WasmRelocationEntry &RelEntry) {
761 void WasmObjectWriter::applyRelocations(
819 void WasmObjectWriter::writeTypeSection(
842 void WasmObjectWriter::writeImportSection(ArrayRef<wasm::WasmImport> Imports,
888 void WasmObjectWriter::writeFunctionSection(ArrayRef<WasmFunction> Functions) {
902 void WasmObjectWriter::writeTagSection(ArrayRef<uint32_t> TagTypes) {
918 void WasmObjectWriter::writeGlobalSection(ArrayRef<wasm::WasmGlobal> Globals) {
959 void WasmObjectWriter::writeTableSection(ArrayRef<wasm::WasmTable> Tables) {
979 void WasmObjectWriter::writeExportSection(ArrayRef<wasm::WasmExport> Exports) {
996 void WasmObjectWriter::writeElemSection(
1037 void WasmObjectWriter::writeDataCountSection() {
1047 uint32_t WasmObjectWriter::writeCodeSection(const MCAssembler &Asm,
1073 uint32_t WasmObjectWriter::writeDataSection(const MCAssembler &Asm) {
1104 void WasmObjectWriter::writeRelocSection(
1144 void WasmObjectWriter::writeCustomRelocSections() {
1151 void WasmObjectWriter::writeLinkingMetaDataSection(
1236 void WasmObjectWriter::writeCustomSection(WasmCustomSection &CustomSection,
1255 uint32_t WasmObjectWriter::getFunctionType(const MCSymbolWasm &Symbol) {
1261 uint32_t WasmObjectWriter::getTagType(const MCSymbolWasm &Symbol) {
1267 void WasmObjectWriter::registerFunctionType(const MCSymbolWasm &Symbol) {
1287 void WasmObjectWriter::registerTagType(const MCSymbolWasm &Symbol) {
1343 void WasmObjectWriter::prepareImports(
1448 uint64_t WasmObjectWriter::writeObject(MCAssembler &Asm) {
1462 uint64_t WasmObjectWriter::writeOneObject(MCAssembler &Asm,
1468 LLVM_DEBUG(dbgs() << "WasmObjectWriter::writeObject\n");
1970 return std::make_unique<WasmObjectWriter>(std::move(MOTW), OS);
1977 return std::make_unique<WasmObjectWriter>(std::move(MOTW), OS, DwoOS);