WebAssemblyFixupKinds.h 1019 B

1234567891011121314151617181920212223242526272829
  1. //=- WebAssemblyFixupKinds.h - WebAssembly Specific Fixup Entries -*- C++ -*-=//
  2. //
  3. // 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
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYFIXUPKINDS_H
  9. #define LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYFIXUPKINDS_H
  10. #include "llvm/MC/MCFixup.h"
  11. namespace llvm {
  12. namespace WebAssembly {
  13. enum Fixups {
  14. fixup_sleb128_i32 = FirstTargetFixupKind, // 32-bit signed
  15. fixup_sleb128_i64, // 64-bit signed
  16. fixup_uleb128_i32, // 32-bit unsigned
  17. fixup_uleb128_i64, // 64-bit unsigned
  18. // Marker
  19. LastTargetFixupKind,
  20. NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
  21. };
  22. } // end namespace WebAssembly
  23. } // end namespace llvm
  24. #endif