Go to the documentation of this file.
13 #ifndef LLVM_RUNTIME_DYLD_COFF_H
14 #define LLVM_RUNTIME_DYLD_COFF_H
18 #define DEBUG_TYPE "dyld"
29 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
33 static std::unique_ptr<RuntimeDyldCOFF>
42 PointerReloc(PointerReloc) {
43 assert((PointerSize == 4 || PointerSize == 8) &&
"Unexpected pointer size");
48 StringRef Name,
bool SetSectionIDMinus1 =
false);
std::unique_ptr< RuntimeDyld::LoadedObjectInfo > loadObject(const object::ObjectFile &Obj) override
This is an optimization pass for GlobalISel generic memory operations.
RuntimeDyld::MemoryManager & MemMgr
Interface for looking up the initializer for a variable name, used by Init::resolveReferences.
bool isCompatibleFile(const object::ObjectFile &Obj) const override
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
uint64_t getDLLImportOffset(unsigned SectionID, StubMap &Stubs, StringRef Name, bool SetSectionIDMinus1=false)
static constexpr StringRef getImportSymbolPrefix()
uint64_t getSymbolOffset(const SymbolRef &Sym)
StringRef - Represent a constant reference to a string, i.e.
This class is the base class for all object file types.
Symbol resolution interface.
RuntimeDyldCOFF(RuntimeDyld::MemoryManager &MemMgr, JITSymbolResolver &Resolver, unsigned PointerSize, uint32_t PointerReloc)
This is a value type class that represents a single symbol in the list of symbols in the object file.
std::map< RelocationValueRef, uintptr_t > StubMap
static std::unique_ptr< RuntimeDyldCOFF > create(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MemMgr, JITSymbolResolver &Resolver)