//===-- RISCVFixupKinds.h - RISC-V Specific Fixup Entries -------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVFIXUPKINDS_H #define LLVM_LIB_TARGET_RISCV_MCTARGETDESC_RISCVFIXUPKINDS_H #include "llvm/BinaryFormat/ELF.h" #include "llvm/MC/MCFixup.h" #include <utility> #undef RISCV namespace llvm::RISCV { enum Fixups { … }; static inline std::pair<MCFixupKind, MCFixupKind> getRelocPairForSize(unsigned Size) { … } } // end namespace llvm::RISCV #endif