[WebAssembly] Add new target feature in support of 'extended-const' proposal
[llvm-project.git] / llvm / lib / Target / WebAssembly / WebAssemblyTargetObjectFile.h
blobf46bb2040a7d4b1355a0190157643c83bf00d7f2
1 //===-- WebAssemblyTargetObjectFile.h - WebAssembly Object Info -*- C++ -*-===//
2 //
3 // 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
6 //
7 //===----------------------------------------------------------------------===//
8 ///
9 /// \file
10 /// This file declares the WebAssembly-specific subclass of
11 /// TargetLoweringObjectFile.
12 ///
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETOBJECTFILE_H
16 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETOBJECTFILE_H
18 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
20 namespace llvm {
22 class WebAssemblyTargetObjectFile final : public TargetLoweringObjectFileWasm {
23 public:
24 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
27 } // end namespace llvm
29 #endif