blob: 0459bfca418de71dd77a564de28e59c223db5743 [file] [log] [blame]
Dan Gohman5bf22fc2015-12-17 04:55:44 +00001//===-- WebAssemblyTargetObjectFile.cpp - WebAssembly Object Info ---------===//
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/// \file
Adrian Prantl5f8f34e42018-05-01 15:54:18 +000011/// This file defines the functions of the WebAssembly-specific subclass
Dan Gohman5bf22fc2015-12-17 04:55:44 +000012/// of TargetLoweringObjectFile.
13///
14//===----------------------------------------------------------------------===//
15
16#include "WebAssemblyTargetObjectFile.h"
17#include "WebAssemblyTargetMachine.h"
Dan Gohman5bf22fc2015-12-17 04:55:44 +000018
Sam Cleggcf2a9e22018-07-16 23:09:29 +000019using namespace llvm;
Dan Gohman18eafb62017-02-22 01:23:18 +000020
21void WebAssemblyTargetObjectFile::Initialize(MCContext &Ctx,
22 const TargetMachine &TM) {
23 TargetLoweringObjectFileWasm::Initialize(Ctx, TM);
24 InitializeWasm();
25}