Lines Matching refs:COFF

1 //=--------- COFFLinkGraphBuilder.cpp - COFF LinkGraph builder ----------===//
9 // Generic COFF LinkGraph building code.
22 T.setObjectFormat(Triple::COFF);
69 return Section->Characteristics & COFF::IMAGE_SCN_LNK_COMDAT;
81 return make_error<JITLinkError>("Object is not a relocatable COFF file");
100 case COFF::IMAGE_SYM_UNDEFINED: {
106 case COFF::IMAGE_SYM_ABSOLUTE:
108 case COFF::IMAGE_SYM_DEBUG: {
153 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_EXECUTE)
155 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_READ)
157 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_MEM_WRITE)
164 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_LNK_REMOVE)
171 if ((*Sec)->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA)
221 if (!COFF::isReservedSectionNumber(SectionIndex)) {
225 "Invalid COFF section number:" + formatv("{0:d}: ", SectionIndex) +
256 << ": Creating defined graph symbol for COFF symbol \""
295 "Invalid COFF /alternatename directive");
331 WeakExternal.Characteristics == COFF::IMAGE_WEAK_EXTERN_SEARCH_ALIAS
343 << ": Creating weak external symbol for COFF symbol \""
377 << ": Creating external graph symbol for COFF symbol \""
398 // In COFF, most of the defined symbols don't contain the size information.
478 if (llvm::COFF::isReservedSectionNumber(Symbol.getSectionNumber()))
488 "COFF symbol \""
500 Symbol.getComplexType() == COFF::IMAGE_SYM_DTYPE_FUNCTION, false);
512 if (Symbol.getStorageClass() == COFF::IMAGE_SYM_CLASS_STATIC ||
513 Symbol.getStorageClass() == COFF::IMAGE_SYM_CLASS_LABEL) {
520 Symbol.getComplexType() == COFF::IMAGE_SYM_DTYPE_FUNCTION, false);
522 if (Definition->Selection == COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE) {
526 Symbol.getComplexType() == COFF::IMAGE_SYM_DTYPE_FUNCTION, false);
560 case COFF::IMAGE_COMDAT_SELECT_NODUPLICATES: {
564 case COFF::IMAGE_COMDAT_SELECT_ANY: {
568 case COFF::IMAGE_COMDAT_SELECT_EXACT_MATCH:
569 case COFF::IMAGE_COMDAT_SELECT_SAME_SIZE: {
575 case COFF::IMAGE_COMDAT_SELECT_LARGEST: {
588 case COFF::IMAGE_COMDAT_SELECT_NEWEST: {
615 Scope::Default, Symbol.getComplexType() == COFF::IMAGE_SYM_DTYPE_FUNCTION,
619 << ": Exporting COMDAT graph symbol for COFF symbol \"" << SymbolName