12#ifndef LLVM_OBJECTYAML_XCOFFYAML_H
13#define LLVM_OBJECTYAML_XCOFFYAML_H
34 std::optional<llvm::yaml::Hex16>
Magic;
62 std::optional<llvm::yaml::Hex16>
Flag;
209 std::optional<std::vector<StringRef>>
Strings;
269 static void mapping(
IO &
IO, std::unique_ptr<XCOFFYAML::AuxSymbolEnt> &AuxSym);
#define LLVM_YAML_IS_SEQUENCE_VECTOR(type)
Utility for declaring that a std::vector of a particular type should be considered a YAML sequence.
StringRef - Represent a constant reference to a string, i.e.
A table of densely packed, null-terminated strings indexed by offset.
The instances of the Type class are immutable: once they are created, they are never changed.
LLVM Value Representation.
Specialized YAMLIO scalar type for representing a binary blob.
DwarfSectionSubtypeFlags
Values for defining the section subtype of sections of type STYP_DWARF as they would appear in the (s...
StorageMappingClass
Storage Mapping Class definitions.
This is an optimization pass for GlobalISel generic memory operations.
Implement std::hash so that hash_code can be used in STL containers.
AuxSymbolEnt(AuxSymbolType T)
std::optional< uint32_t > LineNum
std::optional< uint16_t > LineNumHi
static bool classof(const AuxSymbolEnt *S)
std::optional< uint16_t > LineNumLo
std::optional< uint16_t > TypeChkSectNum
std::optional< uint32_t > ParameterHashIndex
std::optional< uint32_t > SectionOrLength
std::optional< uint32_t > SectionOrLengthHi
std::optional< uint8_t > SymbolAlignmentAndType
std::optional< uint32_t > SectionOrLengthLo
static bool classof(const AuxSymbolEnt *S)
std::optional< uint8_t > SymbolAlignment
std::optional< uint16_t > StabSectNum
std::optional< XCOFF::StorageMappingClass > StorageMappingClass
std::optional< uint32_t > StabInfoIndex
std::optional< XCOFF::SymbolType > SymbolType
std::optional< int32_t > SymIdxOfNextBeyond
std::optional< uint32_t > SizeOfFunction
static bool classof(const AuxSymbolEnt *S)
std::optional< uint64_t > OffsetToExceptionTbl
std::optional< XCOFF::CFileStringType > FileStringType
static bool classof(const AuxSymbolEnt *S)
std::optional< StringRef > FileNameOrString
static bool classof(const AuxSymbolEnt *S)
std::optional< int32_t > SymIdxOfNextBeyond
std::optional< uint32_t > OffsetToExceptionTbl
std::optional< uint64_t > PtrToLineNum
std::optional< uint32_t > SizeOfFunction
std::vector< Section > Sections
std::optional< AuxiliaryHeader > AuxHeader
std::vector< Symbol > Symbols
llvm::yaml::Hex64 SymbolIndex
llvm::yaml::Hex64 VirtualAddress
static bool classof(const AuxSymbolEnt *S)
std::optional< uint32_t > NumberOfRelocEnt
std::optional< uint32_t > LengthOfSectionPortion
static bool classof(const AuxSymbolEnt *S)
std::optional< uint16_t > NumberOfRelocEnt
std::optional< uint16_t > NumberOfLineNum
std::optional< uint32_t > SectionLength
llvm::yaml::Hex64 FileOffsetToRelocations
llvm::yaml::Hex64 Address
std::optional< XCOFF::DwarfSectionSubtypeFlags > SectionSubtype
llvm::yaml::Hex64 FileOffsetToData
yaml::BinaryRef SectionData
std::vector< Relocation > Relocations
llvm::yaml::Hex16 NumberOfLineNumbers
llvm::yaml::Hex16 NumberOfRelocations
llvm::yaml::Hex64 FileOffsetToLineNumbers
std::optional< yaml::BinaryRef > RawContent
std::optional< std::vector< StringRef > > Strings
std::optional< uint32_t > Length
std::optional< uint32_t > ContentSize
std::vector< std::unique_ptr< AuxSymbolEnt > > AuxEntries
std::optional< uint16_t > SectionIndex
std::optional< uint8_t > NumberOfAuxEntries
XCOFF::StorageClass StorageClass
std::optional< StringRef > SectionName
static void mapping(IO &IO, XCOFFYAML::Object &Obj)
static void mapping(IO &IO, XCOFFYAML::Relocation &R)
static void mapping(IO &IO, XCOFFYAML::Section &Sec)
static void mapping(IO &IO, XCOFFYAML::StringTable &Str)
static void mapping(IO &IO, XCOFFYAML::Symbol &S)
static void mapping(IO &IO, std::unique_ptr< XCOFFYAML::AuxSymbolEnt > &AuxSym)
This class should be specialized by any type that needs to be converted to/from a YAML mapping.
static void bitset(IO &IO, XCOFF::SectionTypeFlags &Value)
This class should be specialized by any integer type that is a union of bit values and the YAML repre...
static void enumeration(IO &IO, XCOFFYAML::AuxSymbolType &Type)
static void enumeration(IO &IO, XCOFF::CFileStringType &Type)
static void enumeration(IO &IO, XCOFF::DwarfSectionSubtypeFlags &Value)
static void enumeration(IO &IO, XCOFF::StorageClass &Value)
static void enumeration(IO &IO, XCOFF::StorageMappingClass &Value)
static void enumeration(IO &IO, XCOFF::SymbolType &Value)
This class should be specialized by any integral type that converts to/from a YAML scalar where there...