16 #ifndef LLVM_OBJECTYAML_ELFYAML_H
17 #define LLVM_OBJECTYAML_ELFYAML_H
207 static void enumeration(
IO &
IO, ELFYAML::ELF_ET &
Value);
212 static void enumeration(
IO &
IO, ELFYAML::ELF_EM &
Value);
217 static void enumeration(
IO &
IO, ELFYAML::ELF_ELFCLASS &
Value);
222 static void enumeration(
IO &
IO, ELFYAML::ELF_ELFDATA &
Value);
227 static void enumeration(
IO &
IO, ELFYAML::ELF_ELFOSABI &
Value);
232 static void bitset(
IO &
IO, ELFYAML::ELF_EF &
Value);
237 static void enumeration(
IO &
IO, ELFYAML::ELF_SHT &
Value);
242 static void bitset(
IO &
IO, ELFYAML::ELF_SHF &
Value);
247 static void enumeration(
IO &
IO, ELFYAML::ELF_STT &
Value);
252 static void enumeration(
IO &
IO, ELFYAML::ELF_STV &
Value);
257 static void bitset(
IO &
IO, ELFYAML::ELF_STO &
Value);
262 static void enumeration(
IO &
IO, ELFYAML::ELF_REL &
Value);
267 static void enumeration(
IO &
IO, ELFYAML::ELF_RSS &
Value);
272 static void enumeration(
IO &
IO, ELFYAML::MIPS_AFL_REG &
Value);
277 static void enumeration(
IO &
IO, ELFYAML::MIPS_ABI_FP &
Value);
282 static void enumeration(
IO &
IO, ELFYAML::MIPS_AFL_EXT &
Value);
287 static void enumeration(
IO &
IO, ELFYAML::MIPS_ISA &
Value);
292 static void bitset(
IO &
IO, ELFYAML::MIPS_AFL_ASE &
Value);
297 static void bitset(
IO &
IO, ELFYAML::MIPS_AFL_FLAGS1 &
Value);
321 static void mapping(
IO &
IO, std::unique_ptr<ELFYAML::Section> &
Section);
322 static StringRef validate(IO &io, std::unique_ptr<ELFYAML::Section> &Section);
337 #endif // LLVM_OBJECTYAML_ELFYAML_H
static bool classof(const Section *S)
static bool classof(const Section *S)
llvm::yaml::Hex16 Version
llvm::yaml::Hex64 Address
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
Utility for declaring that a std::vector of a particular type should be considered a YAML sequence...
LocalGlobalWeakSymbols Symbols
llvm::yaml::Hex64 AddressAlign
std::vector< Symbol > Weak
static bool classof(const Section *S)
StringRef sectionNameOrType
This class should be specialized by any type that needs to be converted to/from a YAML mapping...
std::vector< Symbol > Global
std::vector< std::unique_ptr< Section > > Sections
std::vector< Symbol > Local
llvm::yaml::Hex8 ISARevision
This class should be specialized by any integral type that converts to/from a YAML scalar where there...
#define LLVM_YAML_STRONG_TYPEDEF(_base, _type)
YAML I/O does conversion based on types.
std::vector< SectionOrType > Members
Specialized YAMLIO scalar type for representing a binary blob.
static bool classof(const Section *S)
MIPS_AFL_EXT ISAExtension
This class should be specialized by any integer type that is a union of bit values and the YAML repre...
LLVM Value Representation.
static bool classof(const Section *S)
StringRef - Represent a constant reference to a string, i.e.
Section(SectionKind Kind)
std::vector< Relocation > Relocations