15bf22fc8SDan Gohman //===-- WebAssemblyTargetObjectFile.cpp - WebAssembly Object Info ---------===// 25bf22fc8SDan Gohman // 35bf22fc8SDan Gohman // The LLVM Compiler Infrastructure 45bf22fc8SDan Gohman // 55bf22fc8SDan Gohman // This file is distributed under the University of Illinois Open Source 65bf22fc8SDan Gohman // License. See LICENSE.TXT for details. 75bf22fc8SDan Gohman // 85bf22fc8SDan Gohman //===----------------------------------------------------------------------===// 95bf22fc8SDan Gohman /// 105bf22fc8SDan Gohman /// \file 115f8f34e4SAdrian Prantl /// This file defines the functions of the WebAssembly-specific subclass 125bf22fc8SDan Gohman /// of TargetLoweringObjectFile. 135bf22fc8SDan Gohman /// 145bf22fc8SDan Gohman //===----------------------------------------------------------------------===// 155bf22fc8SDan Gohman 165bf22fc8SDan Gohman #include "WebAssemblyTargetObjectFile.h" 175bf22fc8SDan Gohman #include "WebAssemblyTargetMachine.h" 185bf22fc8SDan Gohman 19*cf2a9e28SSam Clegg using namespace llvm; 2018eafb6cSDan Gohman 2118eafb6cSDan Gohman void WebAssemblyTargetObjectFile::Initialize(MCContext &Ctx, 2218eafb6cSDan Gohman const TargetMachine &TM) { 2318eafb6cSDan Gohman TargetLoweringObjectFileWasm::Initialize(Ctx, TM); 2418eafb6cSDan Gohman InitializeWasm(); 2518eafb6cSDan Gohman } 26