mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 15:10:33 +00:00
d6def3abef
These methods looks like they were originally came from MCELFObjectTargetWriter but they are never called by the WasmObjectWriter. Remove these methods meant the declaration of WasmRelocationEntry could also move into the cpp file. Differential Revision: https://reviews.llvm.org/D33905 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304804 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
692 B
C++
22 lines
692 B
C++
//===-- MCWasmObjectTargetWriter.cpp - Wasm Target Writer Subclass --------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/ADT/STLExtras.h"
|
|
#include "llvm/MC/MCExpr.h"
|
|
#include "llvm/MC/MCValue.h"
|
|
#include "llvm/MC/MCWasmObjectWriter.h"
|
|
|
|
using namespace llvm;
|
|
|
|
MCWasmObjectTargetWriter::MCWasmObjectTargetWriter(bool Is64Bit_)
|
|
: Is64Bit(Is64Bit_) {}
|
|
|
|
// Pin the vtable to this object file
|
|
MCWasmObjectTargetWriter::~MCWasmObjectTargetWriter() = default;
|