[PATCH] D79832: Initial commit for the elf x86 implementation for jitlink

Jared Wyles via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 12 18:20:42 PDT 2020


jaredwy created this revision.
jaredwy added reviewers: lhames, dblaikie.
Herald added subscribers: hiraditya, mgorny.
Herald added a project: LLVM.

This is the first commit(and my first commit to LLVM :D) of many to come for the elf x86 jit linker. This just gets a very basic c program working with the execution engine. 
e.g.

int main() return 42;

I plan to continue the rest of the work in tree. To that point there is a lot of clean up that will continue to happen as this evolves and the code state reflects that.  For example there is commented out code, and some variables unused that are there for future work.

This is my first time using many of these apis so I welcome any improvements or suggestions if I am using them wrong or missed any utility methods to make life easier. 
Thanks!


https://reviews.llvm.org/D79832

Files:
  llvm/include/llvm/ExecutionEngine/JITLink/ELF.h
  llvm/include/llvm/ExecutionEngine/JITLink/ELF_x86_64.h
  llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
  llvm/lib/ExecutionEngine/JITLink/ELF.cpp
  llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp
  llvm/lib/ExecutionEngine/JITLink/JITLink.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79832.263583.patch
Type: text/x-patch
Size: 18770 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200513/4d83e32a/attachment.bin>


More information about the llvm-commits mailing list