15bf22fc8SDan Gohman //===-- WebAssemblyTargetObjectFile.cpp - WebAssembly Object Info ---------===//
25bf22fc8SDan Gohman //
3*2946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*2946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information.
5*2946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
65bf22fc8SDan Gohman //
75bf22fc8SDan Gohman //===----------------------------------------------------------------------===//
85bf22fc8SDan Gohman ///
95bf22fc8SDan Gohman /// \file
105f8f34e4SAdrian Prantl /// This file defines the functions of the WebAssembly-specific subclass
115bf22fc8SDan Gohman /// of TargetLoweringObjectFile.
125bf22fc8SDan Gohman ///
135bf22fc8SDan Gohman //===----------------------------------------------------------------------===//
145bf22fc8SDan Gohman 
155bf22fc8SDan Gohman #include "WebAssemblyTargetObjectFile.h"
165bf22fc8SDan Gohman #include "WebAssemblyTargetMachine.h"
175bf22fc8SDan Gohman 
18cf2a9e28SSam Clegg using namespace llvm;
1918eafb6cSDan Gohman 
Initialize(MCContext & Ctx,const TargetMachine & TM)2018eafb6cSDan Gohman void WebAssemblyTargetObjectFile::Initialize(MCContext &Ctx,
2118eafb6cSDan Gohman                                              const TargetMachine &TM) {
2218eafb6cSDan Gohman   TargetLoweringObjectFileWasm::Initialize(Ctx, TM);
2318eafb6cSDan Gohman   InitializeWasm();
2418eafb6cSDan Gohman }
25