Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame] | 1 | //===-- WebAssemblyMCAsmInfo.h - WebAssembly asm properties -----*- 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 contains the declaration of the WebAssemblyMCAsmInfo class. |
| 12 | /// |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYMCASMINFO_H |
| 16 | #define LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYMCASMINFO_H |
| 17 | |
Dan Gohman | 670a60e | 2015-12-17 20:50:45 +0000 | [diff] [blame] | 18 | #include "llvm/MC/MCAsmInfoELF.h" |
Dan Gohman | 18eafb6 | 2017-02-22 01:23:18 +0000 | [diff] [blame] | 19 | #include "llvm/MC/MCAsmInfoWasm.h" |
Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame] | 20 | |
| 21 | namespace llvm { |
| 22 | |
| 23 | class Triple; |
| 24 | |
Dan Gohman | 18eafb6 | 2017-02-22 01:23:18 +0000 | [diff] [blame] | 25 | class WebAssemblyMCAsmInfoELF final : public MCAsmInfoELF { |
| 26 | public: |
| 27 | explicit WebAssemblyMCAsmInfoELF(const Triple &T); |
| 28 | ~WebAssemblyMCAsmInfoELF() override; |
| 29 | }; |
| 30 | |
| 31 | class WebAssemblyMCAsmInfo final : public MCAsmInfoWasm { |
Dan Gohman | 10e730a | 2015-06-29 23:51:55 +0000 | [diff] [blame] | 32 | public: |
| 33 | explicit WebAssemblyMCAsmInfo(const Triple &T); |
| 34 | ~WebAssemblyMCAsmInfo() override; |
| 35 | }; |
| 36 | |
| 37 | } // end namespace llvm |
| 38 | |
| 39 | #endif |