llvm-project/llvm/lib/ExecutionEngine/JITLink
Lang Hames 0269a407f3 [JITLink] Switch from StringRef to ArrayRef<char>, add some generic x86-64 utils
Adds utilities for creating anonymous pointers and jump stubs to x86_64.h. These
are used by the GOT and Stubs builder, but may also be used by pass writers who
want to create pointer stubs for indirection.

This patch also switches the underlying type for LinkGraph content from
StringRef to ArrayRef<char>. This avoids any confusion when working with buffers
that contain null bytes in the middle like, for example, a newly added null
pointer content array. ;)
2021-03-30 21:07:24 -07:00
..
CMakeLists.txt [JITLink] Start laying the groundwork for ELF x86-64 large code model support. 2021-03-21 20:56:47 -07:00
DefineExternalSectionStartAndEndSymbols.h [JITLink][ELF/x86-64] Add support for R_X86_64_GOTPC64 and R_X86_64_GOT64. 2021-03-21 21:52:54 -07:00
EHFrameSupport.cpp [JITLink] Switch from StringRef to ArrayRef<char>, add some generic x86-64 utils 2021-03-30 21:07:24 -07:00
EHFrameSupportImpl.h [JITLink] Add a null-terminator to eh-frame sections on ELF/x86-64. 2021-03-09 22:16:11 -08:00
ELF.cpp [JITLink] Remove some std::move(MemoryBufferRef) below createLinkGraphFromObject() (NFC) 2021-03-02 15:07:34 +01:00
ELF_x86_64.cpp [JITLink] Switch from StringRef to ArrayRef<char>, add some generic x86-64 utils 2021-03-30 21:07:24 -07:00
JITLink.cpp [JITLink] Switch from StringRef to ArrayRef<char>, add some generic x86-64 utils 2021-03-30 21:07:24 -07:00
JITLinkGeneric.cpp [JITLink] Switch from StringRef to ArrayRef<char>, add some generic x86-64 utils 2021-03-30 21:07:24 -07:00
JITLinkGeneric.h [JITLink][ELF/x86-64] Add support for R_X86_64_GOTPC64 and R_X86_64_GOT64. 2021-03-21 21:52:54 -07:00
JITLinkMemoryManager.cpp [JITLink] Assert that segment mapping does not exceed allocation size. 2021-03-09 20:40:24 -08:00
MachO.cpp [JITLink] Remove some std::move(MemoryBufferRef) below createLinkGraphFromObject() (NFC) 2021-03-02 15:07:34 +01:00
MachOLinkGraphBuilder.cpp [JITLink] Switch from StringRef to ArrayRef<char>, add some generic x86-64 utils 2021-03-30 21:07:24 -07:00
MachOLinkGraphBuilder.h [JITLink][MachO][x86-64] Introduce generic x86-64 support. 2021-03-15 15:43:07 -07:00
MachO_arm64.cpp [JITLink] Switch from StringRef to ArrayRef<char>, add some generic x86-64 utils 2021-03-30 21:07:24 -07:00
MachO_x86_64.cpp [JITLink] Switch from StringRef to ArrayRef<char>, add some generic x86-64 utils 2021-03-30 21:07:24 -07:00
PerGraphGOTAndPLTStubsBuilder.h [JITLink] Start laying the groundwork for ELF x86-64 large code model support. 2021-03-21 20:56:47 -07:00
x86_64.cpp [JITLink] Switch from StringRef to ArrayRef<char>, add some generic x86-64 utils 2021-03-30 21:07:24 -07:00