xref: /freebsd/contrib/llvm-project/llvm/lib/MC/MCWasmObjectTargetWriter.cpp (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
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 
9 #include "llvm/MC/MCWasmObjectWriter.h"
10 
11 using namespace llvm;
12 
13 MCWasmObjectTargetWriter::MCWasmObjectTargetWriter(bool Is64Bit,
14                                                    bool IsEmscripten)
15     : Is64Bit(Is64Bit), IsEmscripten(IsEmscripten) {}
16 
17 // Pin the vtable to this object file
18 MCWasmObjectTargetWriter::~MCWasmObjectTargetWriter() = default;
19