LLVM 22.0.0git
WasmObjectWriter.cpp File Reference
#include "llvm/ADT/STLExtras.h"
#include "llvm/BinaryFormat/Wasm.h"
#include "llvm/BinaryFormat/WasmTraits.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSectionWasm.h"
#include "llvm/MC/MCSymbolWasm.h"
#include "llvm/MC/MCValue.h"
#include "llvm/MC/MCWasmObjectWriter.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/LEB128.h"
#include <vector>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "mc"

Functions

static void addData (SmallVectorImpl< char > &DataBytes, MCSectionWasm &DataSection)
static bool isInSymtab (const MCSymbolWasm &Sym)
static bool isSectionReferenced (MCAssembler &Asm, MCSectionWasm &Section)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "mc"

Definition at line 35 of file WasmObjectWriter.cpp.

Function Documentation

◆ addData()

◆ isInSymtab()

◆ isSectionReferenced()

bool isSectionReferenced ( MCAssembler & Asm,
MCSectionWasm & Section )
static

Definition at line 1311 of file WasmObjectWriter.cpp.