Dan Gohman | d934cb8 | 2017-02-24 23:18:00 +0000 | [diff] [blame] | 1 | //=- WebAssemblyFixupKinds.h - WebAssembly Specific Fixup Entries -*- 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 | #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYFIXUPKINDS_H |
| 11 | #define LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYFIXUPKINDS_H |
| 12 | |
| 13 | #include "llvm/MC/MCFixup.h" |
| 14 | |
| 15 | namespace llvm { |
| 16 | namespace WebAssembly { |
| 17 | enum Fixups { |
Heejin Ahn | f208f63 | 2018-09-05 01:27:38 +0000 | [diff] [blame^] | 18 | fixup_code_sleb128_i32 = FirstTargetFixupKind, // 32-bit signed |
| 19 | fixup_code_sleb128_i64, // 64-bit signed |
| 20 | fixup_code_uleb128_i32, // 32-bit unsigned |
Dan Gohman | d934cb8 | 2017-02-24 23:18:00 +0000 | [diff] [blame] | 21 | |
Dan Gohman | d934cb8 | 2017-02-24 23:18:00 +0000 | [diff] [blame] | 22 | // Marker |
| 23 | LastTargetFixupKind, |
| 24 | NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind |
| 25 | }; |
| 26 | } // end namespace WebAssembly |
| 27 | } // end namespace llvm |
| 28 | |
| 29 | #endif |