Home | History | Annotate | Download | only in Object

Lines Matching refs:COFF

1 //===- COFFYAML.cpp - COFF YAMLIO implementation --------------------------===//
10 // This file defines classes for handling the YAML representation of COFF.
16 #define ECase(X) IO.enumCase(Value, #X, COFF::X);
20 Section::Section() { memset(&Header, 0, sizeof(COFF::section)); }
21 Symbol::Symbol() { memset(&Header, 0, sizeof(COFF::symbol)); }
22 Object::Object() { memset(&Header, 0, sizeof(COFF::header)); }
26 void ScalarEnumerationTraits<COFF::MachineTypes>::enumeration(
27 IO &IO, COFF::MachineTypes &Value) {
51 void ScalarEnumerationTraits<COFF::SymbolBaseType>::enumeration(
52 IO &IO, COFF::SymbolBaseType &Value) {
71 void ScalarEnumerationTraits<COFF::SymbolStorageClass>::enumeration(
72 IO &IO, COFF::SymbolStorageClass &Value) {
102 void ScalarEnumerationTraits<COFF::SymbolComplexType>::enumeration(
103 IO &IO, COFF::SymbolComplexType &Value) {
110 void ScalarEnumerationTraits<COFF::RelocationTypeX86>::enumeration(
111 IO &IO, COFF::RelocationTypeX86 &Value) {
143 #define BCase(X) IO.bitSetCase(Value, #X, COFF::X);
144 void ScalarBitSetTraits<COFF::Characteristics>::bitset(
145 IO &IO, COFF::Characteristics &Value) {
163 void ScalarBitSetTraits<COFF::SectionCharacteristics>::bitset(
164 IO &IO, COFF::SectionCharacteristics &Value) {
192 : Characteristics(COFF::SectionCharacteristics(0)) {}
194 : Characteristics(COFF::SectionCharacteristics(C)) {}
196 COFF::SectionCharacteristics Characteristics;
200 NStorageClass(IO &) : StorageClass(COFF::SymbolStorageClass(0)) {}
201 NStorageClass(IO &, uint8_t S) : StorageClass(COFF::SymbolStorageClass(S)) {}
204 COFF::SymbolStorageClass StorageClass;
208 NMachine(IO &) : Machine(COFF::MachineTypes(0)) {}
209 NMachine(IO &, uint16_t M) : Machine(COFF::MachineTypes(M)) {}
211 COFF::MachineTypes Machine;
215 NHeaderCharacteristics(IO &) : Characteristics(COFF::Characteristics(0)) {}
217 : Characteristics(COFF::Characteristics(C)) {}
220 COFF::Characteristics Characteristics;
224 NType(IO &) : Type(COFF::RelocationTypeX86(0)) {}
225 NType(IO &, uint16_t T) : Type(COFF::RelocationTypeX86(T)) {}
227 COFF::RelocationTypeX86 Type;
241 void MappingTraits<COFF::header>::mapping(IO &IO, COFF::header &H) {