MCWasmObjectTargetWriter.cpp 727 B

123456789101112131415161718
  1. //===-- MCWasmObjectTargetWriter.cpp - Wasm Target Writer Subclass --------===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #include "llvm/MC/MCWasmObjectWriter.h"
  9. using namespace llvm;
  10. MCWasmObjectTargetWriter::MCWasmObjectTargetWriter(bool Is64Bit,
  11. bool IsEmscripten)
  12. : Is64Bit(Is64Bit), IsEmscripten(IsEmscripten) {}
  13. // Pin the vtable to this object file
  14. MCWasmObjectTargetWriter::~MCWasmObjectTargetWriter() = default;