//===- MipsOptionRecord.h - Abstraction for storing information -*- 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 // //===----------------------------------------------------------------------===// // // MipsOptionRecord - Abstraction for storing arbitrary information in // ELF files. Arbitrary information (e.g. register usage) can be stored in Mips // specific ELF sections like .Mips.options. Specific records should subclass // MipsOptionRecord and provide an implementation to EmitMipsOptionRecord which // basically just dumps the information into an ELF section. More information // about .Mips.option can be found in the SysV ABI and the 64-bit ELF Object // specification. // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_TARGET_MIPS_MIPSOPTIONRECORD_H #define LLVM_LIB_TARGET_MIPS_MIPSOPTIONRECORD_H #include "MCTargetDesc/MipsMCTargetDesc.h" #include "llvm/MC/MCContext.h" #include "llvm/MC/MCRegisterInfo.h" #include <cstdint> namespace llvm { class MipsELFStreamer; class MipsOptionRecord { … }; class MipsRegInfoRecord : public MipsOptionRecord { … }; } // end namespace llvm #endif // LLVM_LIB_TARGET_MIPS_MIPSOPTIONRECORD_H