blob: d9547096190ead5293933f3c08d5c26f1d996383 [file] [log] [blame]
Dan Gohman10e730a2015-06-29 23:51:55 +00001//===-- 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 Gohman670a60e2015-12-17 20:50:45 +000018#include "llvm/MC/MCAsmInfoELF.h"
Dan Gohman18eafb62017-02-22 01:23:18 +000019#include "llvm/MC/MCAsmInfoWasm.h"
Dan Gohman10e730a2015-06-29 23:51:55 +000020
21namespace llvm {
22
23class Triple;
24
Dan Gohman18eafb62017-02-22 01:23:18 +000025class WebAssemblyMCAsmInfoELF final : public MCAsmInfoELF {
26public:
27 explicit WebAssemblyMCAsmInfoELF(const Triple &T);
28 ~WebAssemblyMCAsmInfoELF() override;
29};
30
31class WebAssemblyMCAsmInfo final : public MCAsmInfoWasm {
Dan Gohman10e730a2015-06-29 23:51:55 +000032public:
33 explicit WebAssemblyMCAsmInfo(const Triple &T);
34 ~WebAssemblyMCAsmInfo() override;
35};
36
37} // end namespace llvm
38
39#endif