Lines Matching refs:COFF

41                           COFF::COMDATType Type);
94 COFF::IMAGE_SCN_CNT_CODE in ParseSectionDirectiveText()
95 | COFF::IMAGE_SCN_MEM_EXECUTE in ParseSectionDirectiveText()
96 | COFF::IMAGE_SCN_MEM_READ, in ParseSectionDirectiveText()
101 COFF::IMAGE_SCN_CNT_INITIALIZED_DATA in ParseSectionDirectiveData()
102 | COFF::IMAGE_SCN_MEM_READ in ParseSectionDirectiveData()
103 | COFF::IMAGE_SCN_MEM_WRITE, in ParseSectionDirectiveData()
108 COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA in ParseSectionDirectiveBSS()
109 | COFF::IMAGE_SCN_MEM_READ in ParseSectionDirectiveBSS()
110 | COFF::IMAGE_SCN_MEM_WRITE, in ParseSectionDirectiveBSS()
121 bool parseCOMDATType(COFF::COMDATType &Type);
149 if (Flags & COFF::IMAGE_SCN_MEM_EXECUTE) in computeSectionKind()
151 if (Flags & COFF::IMAGE_SCN_MEM_READ && in computeSectionKind()
152 (Flags & COFF::IMAGE_SCN_MEM_WRITE) == 0) in computeSectionKind()
244 *Flags |= COFF::IMAGE_SCN_CNT_CODE | COFF::IMAGE_SCN_MEM_EXECUTE; in ParseSectionFlags()
246 *Flags |= COFF::IMAGE_SCN_CNT_INITIALIZED_DATA; in ParseSectionFlags()
248 *Flags |= COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA; in ParseSectionFlags()
250 *Flags |= COFF::IMAGE_SCN_LNK_REMOVE; in ParseSectionFlags()
252 *Flags |= COFF::IMAGE_SCN_MEM_READ; in ParseSectionFlags()
254 *Flags |= COFF::IMAGE_SCN_MEM_WRITE; in ParseSectionFlags()
256 *Flags |= COFF::IMAGE_SCN_MEM_SHARED; in ParseSectionFlags()
295 return ParseSectionSwitch(Section, Characteristics, Kind, "", (COFF::COMDATType)0); in ParseSectionSwitch()
302 COFF::COMDATType Type) { in ParseSectionSwitch()
342 unsigned Flags = COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in ParseDirectiveSection()
343 COFF::IMAGE_SCN_MEM_READ | in ParseDirectiveSection()
344 COFF::IMAGE_SCN_MEM_WRITE; in ParseDirectiveSection()
359 COFF::COMDATType Type = (COFF::COMDATType)0; in ParseDirectiveSection()
362 Type = COFF::IMAGE_COMDAT_SELECT_ANY;; in ParseDirectiveSection()
365 Flags |= COFF::IMAGE_SCN_LNK_COMDAT; in ParseDirectiveSection()
389 Flags |= COFF::IMAGE_SCN_MEM_16BIT; in ParseDirectiveSection()
472 bool COFFAsmParser::parseCOMDATType(COFF::COMDATType &Type) { in parseCOMDATType()
475 Type = StringSwitch<COFF::COMDATType>(TypeId) in parseCOMDATType()
476 .Case("one_only", COFF::IMAGE_COMDAT_SELECT_NODUPLICATES) in parseCOMDATType()
477 .Case("discard", COFF::IMAGE_COMDAT_SELECT_ANY) in parseCOMDATType()
478 .Case("same_size", COFF::IMAGE_COMDAT_SELECT_SAME_SIZE) in parseCOMDATType()
479 .Case("same_contents", COFF::IMAGE_COMDAT_SELECT_EXACT_MATCH) in parseCOMDATType()
480 .Case("associative", COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE) in parseCOMDATType()
481 .Case("largest", COFF::IMAGE_COMDAT_SELECT_LARGEST) in parseCOMDATType()
482 .Case("newest", COFF::IMAGE_COMDAT_SELECT_NEWEST) in parseCOMDATType()
483 .Default((COFF::COMDATType)0); in parseCOMDATType()
496 COFF::COMDATType Type = COFF::IMAGE_COMDAT_SELECT_ANY; in ParseDirectiveLinkOnce()
504 if (Type == COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE) in ParseDirectiveLinkOnce()
507 if (Current->getCharacteristics() & COFF::IMAGE_SCN_LNK_COMDAT) in ParseDirectiveLinkOnce()