blob: a09a17d7a124f60d7cf48250006227533ac81acc [file] [log] [blame]
Dan Gohman18eafb62017-02-22 01:23:18 +00001//===-- MCWasmObjectTargetWriter.cpp - Wasm Target Writer Subclass --------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "llvm/ADT/STLExtras.h"
11#include "llvm/MC/MCExpr.h"
12#include "llvm/MC/MCValue.h"
13#include "llvm/MC/MCWasmObjectWriter.h"
14
15using namespace llvm;
16
17MCWasmObjectTargetWriter::MCWasmObjectTargetWriter(bool Is64Bit_)
18 : Is64Bit(Is64Bit_) {}
19
20bool MCWasmObjectTargetWriter::needsRelocateWithSymbol(const MCSymbol &Sym,
21 unsigned Type) const {
22 return false;
23}
24
25void MCWasmObjectTargetWriter::sortRelocs(
26 const MCAssembler &Asm, std::vector<WasmRelocationEntry> &Relocs) {
27}