blob: 33e8de28295525da1bf4fa96bb5a74398c6fdf34 [file] [log] [blame]
Dan Gohmand934cb82017-02-24 23:18:00 +00001//=- WebAssemblyFixupKinds.h - WebAssembly Specific Fixup Entries -*- C++ -*-=//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Dan Gohmand934cb82017-02-24 23:18:00 +00006//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYFIXUPKINDS_H
10#define LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYFIXUPKINDS_H
11
12#include "llvm/MC/MCFixup.h"
13
14namespace llvm {
15namespace WebAssembly {
16enum Fixups {
Sam Clegga5e175c2019-03-28 02:07:28 +000017 fixup_sleb128_i32 = FirstTargetFixupKind, // 32-bit signed
18 fixup_sleb128_i64, // 64-bit signed
19 fixup_uleb128_i32, // 32-bit unsigned
Dan Gohmand934cb82017-02-24 23:18:00 +000020
Dan Gohmand934cb82017-02-24 23:18:00 +000021 // Marker
22 LastTargetFixupKind,
23 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
24};
25} // end namespace WebAssembly
26} // end namespace llvm
27
28#endif