LLVM  8.0.1
Functions
WebAssemblyWasmObjectWriter.cpp File Reference

This file handles Wasm-specific object emission, converting LLVM's internal fixups into the appropriate relocations. More...

#include "MCTargetDesc/WebAssemblyFixupKinds.h"
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "llvm/BinaryFormat/Wasm.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCFixup.h"
#include "llvm/MC/MCFixupKindInfo.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/ErrorHandling.h"
Include dependency graph for WebAssemblyWasmObjectWriter.cpp:

Go to the source code of this file.

Functions

static bool IsFunctionExpr (const MCExpr *Expr)
 
static bool IsFunctionType (const MCValue &Target)
 
static const MCSectionGetFixupSection (const MCExpr *Expr)
 
static bool IsGlobalType (const MCValue &Target)
 
static bool IsEventType (const MCValue &Target)
 

Detailed Description

This file handles Wasm-specific object emission, converting LLVM's internal fixups into the appropriate relocations.

Definition in file WebAssemblyWasmObjectWriter.cpp.

Function Documentation

◆ GetFixupSection()

static const MCSection* GetFixupSection ( const MCExpr Expr)
static

Definition at line 65 of file WebAssemblyWasmObjectWriter.cpp.

Referenced by IsEventType().

◆ IsEventType()

static bool IsEventType ( const MCValue Target)
static

◆ IsFunctionExpr()

static bool IsFunctionExpr ( const MCExpr Expr)
static

Definition at line 47 of file WebAssemblyWasmObjectWriter.cpp.

Referenced by IsEventType().

◆ IsFunctionType()

static bool IsFunctionType ( const MCValue Target)
static

◆ IsGlobalType()

static bool IsGlobalType ( const MCValue Target)
static