|
LLVM
5.0.0
|
#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallPtrSet.h"#include "llvm/BinaryFormat/Wasm.h"#include "llvm/MC/MCAsmBackend.h"#include "llvm/MC/MCAsmInfo.h"#include "llvm/MC/MCAsmLayout.h"#include "llvm/MC/MCAssembler.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/MCExpr.h"#include "llvm/MC/MCFixupKindInfo.h"#include "llvm/MC/MCObjectFileInfo.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/ErrorHandling.h"#include "llvm/Support/LEB128.h"#include "llvm/Support/StringSaver.h"#include <vector>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "mc" |
Functions | |
| static unsigned | PaddingFor5ByteULEB128 (uint32_t X) |
| static unsigned | PaddingFor5ByteSLEB128 (int32_t X) |
| static void | WritePatchableLEB (raw_pwrite_stream &Stream, uint32_t X, uint64_t Offset) |
| static void | WritePatchableSLEB (raw_pwrite_stream &Stream, int32_t X, uint64_t Offset) |
| static void | WriteI32 (raw_pwrite_stream &Stream, uint32_t X, uint64_t Offset) |
| static uint32_t | ProvisionalValue (const WasmRelocationEntry &RelEntry) |
| #define DEBUG_TYPE "mc" |
Definition at line 39 of file WasmObjectWriter.cpp.
|
static |
Definition at line 293 of file WasmObjectWriter.cpp.
References llvm::getSLEB128Size().
Referenced by WritePatchableSLEB().
Definition at line 288 of file WasmObjectWriter.cpp.
References llvm::countLeadingZeros().
Referenced by WritePatchableLEB().
Definition at line 471 of file WasmObjectWriter.cpp.
References llvm::dwarf::syntax::Address, and llvm::MCSymbol::isDefined().
|
static |
Definition at line 461 of file WasmObjectWriter.cpp.
References llvm::raw_pwrite_stream::pwrite(), and llvm::support::endian::write32le().
|
static |
Definition at line 441 of file WasmObjectWriter.cpp.
References assert(), llvm::encodeULEB128(), PaddingFor5ByteULEB128(), and llvm::raw_pwrite_stream::pwrite().
|
static |
Definition at line 452 of file WasmObjectWriter.cpp.
References assert(), llvm::encodeSLEB128(), PaddingFor5ByteSLEB128(), and llvm::raw_pwrite_stream::pwrite().
1.8.6