Dan Gohman | 18eafb6 | 2017-02-22 01:23:18 +0000 | [diff] [blame] | 1 | //===-- 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 | |
| 15 | using namespace llvm; |
| 16 | |
| 17 | MCWasmObjectTargetWriter::MCWasmObjectTargetWriter(bool Is64Bit_) |
| 18 | : Is64Bit(Is64Bit_) {} |
| 19 | |
| 20 | bool MCWasmObjectTargetWriter::needsRelocateWithSymbol(const MCSymbol &Sym, |
| 21 | unsigned Type) const { |
| 22 | return false; |
| 23 | } |
| 24 | |
| 25 | void MCWasmObjectTargetWriter::sortRelocs( |
| 26 | const MCAssembler &Asm, std::vector<WasmRelocationEntry> &Relocs) { |
| 27 | } |