|
LLVM
7.0.0
|
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"Go to the source code of this file.
Functions | |
| static bool | IsFunctionExpr (const MCExpr *Expr) |
| static bool | IsFunctionType (const MCValue &Target) |
| static const MCSection * | GetFixupSection (const MCExpr *Expr) |
This file handles Wasm-specific object emission, converting LLVM's internal fixups into the appropriate relocations.
Definition in file WebAssemblyWasmObjectWriter.cpp.
Definition at line 65 of file WebAssemblyWasmObjectWriter.cpp.
References Fixup, llvm::WebAssembly::fixup_code_global_index, llvm::WebAssembly::fixup_code_sleb128_i32, llvm::WebAssembly::fixup_code_sleb128_i64, llvm::WebAssembly::fixup_code_uleb128_i32, llvm::FK_Data_4, llvm::FK_Data_8, llvm::MCFixup::getKind(), getRelocType(), llvm::MCFixup::getValue(), IsFunctionExpr(), IsFunctionType(), llvm_unreachable, and llvm::ARMBuildAttrs::Section.
Definition at line 47 of file WebAssemblyWasmObjectWriter.cpp.
Referenced by GetFixupSection().
Definition at line 60 of file WebAssemblyWasmObjectWriter.cpp.
References llvm::MCSymbolRefExpr::getKind(), llvm::MCValue::getSymA(), and llvm::MCSymbolRefExpr::VK_WebAssembly_TYPEINDEX.
Referenced by GetFixupSection().
1.8.13