2015-12-17 12:55:44 +08:00
|
|
|
//===-- WebAssemblyTargetObjectFile.cpp - WebAssembly Object Info ---------===//
|
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2015-12-17 12:55:44 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
///
|
|
|
|
/// \file
|
2018-05-01 23:54:18 +08:00
|
|
|
/// This file defines the functions of the WebAssembly-specific subclass
|
2015-12-17 12:55:44 +08:00
|
|
|
/// of TargetLoweringObjectFile.
|
|
|
|
///
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "WebAssemblyTargetObjectFile.h"
|
|
|
|
#include "WebAssemblyTargetMachine.h"
|
|
|
|
|
2018-07-17 07:09:29 +08:00
|
|
|
using namespace llvm;
|
2017-02-22 09:23:18 +08:00
|
|
|
|
|
|
|
void WebAssemblyTargetObjectFile::Initialize(MCContext &Ctx,
|
|
|
|
const TargetMachine &TM) {
|
|
|
|
TargetLoweringObjectFileWasm::Initialize(Ctx, TM);
|
|
|
|
InitializeWasm();
|
|
|
|
}
|