[JITLink][ELF] Route objects to their matching linker backends based on header info
authorStefan Gränitz <stefan.graenitz@gmail.com>
Tue, 8 Dec 2020 09:53:50 +0000 (10:53 +0100)
committerStefan Gränitz <stefan.graenitz@gmail.com>
Tue, 8 Dec 2020 09:56:01 +0000 (10:56 +0100)
commit83b52b5ba27815200e76343f2a2f1614bb1960d9
tree2d3bd34b336310540602d3303803444f593c9223
parent2d1b024d06b2a81f1c35193a998a864be09e2ae8
[JITLink][ELF] Route objects to their matching linker backends based on header info

Distinguish objects by target properties address size, endian and machine architecture. So far we only
support x86-64 (ELFCLASS64, ELFDATA2LSB, EM_X86_64).

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D90860
llvm/lib/ExecutionEngine/JITLink/ELF.cpp