Lines Matching full:coff
1 //===-- X86WinCOFFObjectWriter.cpp - X86 Win COFF Writer ------------------===//
15 #include "llvm/Support/COFF.h"
37 : MCWinCOFFObjectTargetWriter(Is64Bit ? COFF::IMAGE_FILE_MACHINE_AMD64 in X86WinCOFFObjectWriter()
38 : COFF::IMAGE_FILE_MACHINE_I386) {} in X86WinCOFFObjectWriter()
51 if (getMachine() == COFF::IMAGE_FILE_MACHINE_AMD64) { in getRelocType()
58 return COFF::IMAGE_REL_AMD64_REL32; in getRelocType()
63 return COFF::IMAGE_REL_AMD64_ADDR32NB; in getRelocType()
65 return COFF::IMAGE_REL_AMD64_SECREL; in getRelocType()
66 return COFF::IMAGE_REL_AMD64_ADDR32; in getRelocType()
68 return COFF::IMAGE_REL_AMD64_ADDR64; in getRelocType()
70 return COFF::IMAGE_REL_AMD64_SECTION; in getRelocType()
72 return COFF::IMAGE_REL_AMD64_SECREL; in getRelocType()
76 } else if (getMachine() == COFF::IMAGE_FILE_MACHINE_I386) { in getRelocType()
81 return COFF::IMAGE_REL_I386_REL32; in getRelocType()
86 return COFF::IMAGE_REL_I386_DIR32NB; in getRelocType()
88 return COFF::IMAGE_REL_AMD64_SECREL; in getRelocType()
89 return COFF::IMAGE_REL_I386_DIR32; in getRelocType()
91 return COFF::IMAGE_REL_I386_SECTION; in getRelocType()
93 return COFF::IMAGE_REL_I386_SECREL; in getRelocType()
98 llvm_unreachable("Unsupported COFF machine type."); in getRelocType()