16 #ifndef LLVM_OBJECTYAML_ELFYAML_H
17 #define LLVM_OBJECTYAML_ELFYAML_H
189 static void enumeration(
IO &
IO, ELFYAML::ELF_ET &
Value);
194 static void enumeration(
IO &
IO, ELFYAML::ELF_EM &
Value);
199 static void enumeration(
IO &
IO, ELFYAML::ELF_ELFCLASS &
Value);
204 static void enumeration(
IO &
IO, ELFYAML::ELF_ELFDATA &
Value);
209 static void enumeration(
IO &
IO, ELFYAML::ELF_ELFOSABI &
Value);
214 static void bitset(
IO &
IO, ELFYAML::ELF_EF &
Value);
219 static void enumeration(
IO &
IO, ELFYAML::ELF_SHT &
Value);
224 static void bitset(
IO &
IO, ELFYAML::ELF_SHF &
Value);
229 static void enumeration(
IO &
IO, ELFYAML::ELF_STT &
Value);
234 static void enumeration(
IO &
IO, ELFYAML::ELF_STV &
Value);
239 static void bitset(
IO &
IO, ELFYAML::ELF_STO &
Value);
244 static void enumeration(
IO &
IO, ELFYAML::ELF_REL &
Value);
249 static void enumeration(
IO &
IO, ELFYAML::ELF_RSS &
Value);
254 static void enumeration(
IO &
IO, ELFYAML::MIPS_AFL_REG &
Value);
259 static void enumeration(
IO &
IO, ELFYAML::MIPS_ABI_FP &
Value);
264 static void enumeration(
IO &
IO, ELFYAML::MIPS_AFL_EXT &
Value);
269 static void enumeration(
IO &
IO, ELFYAML::MIPS_ISA &
Value);
274 static void bitset(
IO &
IO, ELFYAML::MIPS_AFL_ASE &
Value);
279 static void bitset(
IO &
IO, ELFYAML::MIPS_AFL_FLAGS1 &
Value);
303 static void mapping(
IO &
IO, std::unique_ptr<ELFYAML::Section> &
Section);
304 static StringRef validate(IO &io, std::unique_ptr<ELFYAML::Section> &Section);
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