//===- lib/ReaderWriter/PECOFF/Pass.h -------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #ifndef LLD_READER_WRITER_PE_COFF_PASS_H #define LLD_READER_WRITER_PE_COFF_PASS_H #include "Atoms.h" #include "llvm/Support/COFF.h" namespace lld { namespace pecoff { void addDir64Reloc(COFFBaseDefinedAtom *atom, const Atom *target, llvm::COFF::MachineTypes machine, size_t offsetInAtom); void addDir32Reloc(COFFBaseDefinedAtom *atom, const Atom *target, llvm::COFF::MachineTypes machine, size_t offsetInAtom); void addDir32NBReloc(COFFBaseDefinedAtom *atom, const Atom *target, llvm::COFF::MachineTypes machine, size_t offsetInAtom); void addRel32Reloc(COFFBaseDefinedAtom *atom, const Atom *target, llvm::COFF::MachineTypes machine, size_t offsetInAtom); } // namespace pecoff } // namespace lld #endif