1 //===-- WebAssemblyTargetObjectFile.h - WebAssembly Object Info -*- C++ -*-===// 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 11 /// \brief This file declares the WebAssembly-specific subclass of 12 /// TargetLoweringObjectFile. 13 /// 14 //===----------------------------------------------------------------------===// 15 16 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETOBJECTFILE_H 17 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYTARGETOBJECTFILE_H 18 19 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" 20 21 namespace llvm { 22 23 class WebAssemblyTargetObjectFile final : public TargetLoweringObjectFileELF { 24 public: 25 void Initialize(MCContext &Ctx, const TargetMachine &TM) override; 26 }; 27 28 } // end namespace llvm 29 30 #endif 31