30 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8///9/// \file10/// This file declares the WebAssembly-specific subclass of11/// TargetLoweringObjectFile.12///13//===----------------------------------------------------------------------===//14 15#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETOBJECTFILE_H16#define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETOBJECTFILE_H17 18#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"19 20namespace llvm {21 22class WebAssemblyTargetObjectFile final : public TargetLoweringObjectFileWasm {23public:24 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;25};26 27} // end namespace llvm28 29#endif30