blob: f46bb2040a7d4b1355a0190157643c83bf00d7f2 [file] [log] [blame]
Dan Gohman10e730a2015-06-29 23:51:55 +00001//===-- WebAssemblyTargetObjectFile.h - WebAssembly Object Info -*- C++ -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Dan Gohman10e730a2015-06-29 23:51:55 +00006//
7//===----------------------------------------------------------------------===//
8///
9/// \file
Adrian Prantl5f8f34e42018-05-01 15:54:18 +000010/// This file declares the WebAssembly-specific subclass of
Dan Gohman10e730a2015-06-29 23:51:55 +000011/// TargetLoweringObjectFile.
12///
13//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETOBJECTFILE_H
16#define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETOBJECTFILE_H
17
Dan Gohman5bf22fc2015-12-17 04:55:44 +000018#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
Dan Gohman10e730a2015-06-29 23:51:55 +000019
20namespace llvm {
21
Dan Gohman18eafb62017-02-22 01:23:18 +000022class WebAssemblyTargetObjectFile final : public TargetLoweringObjectFileWasm {
Dan Gohman10e730a2015-06-29 23:51:55 +000023public:
Dan Gohman5bf22fc2015-12-17 04:55:44 +000024 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
Dan Gohman10e730a2015-06-29 23:51:55 +000025};
26
27} // end namespace llvm
28
29#endif