[NFC][libomptarget] Reduce the dependency on libelf
authorVyacheslav Zakharin <vyacheslav.p.zakharin@intel.com>
Wed, 16 Jun 2021 15:30:35 +0000 (08:30 -0700)
committerVyacheslav Zakharin <vyacheslav.p.zakharin@intel.com>
Wed, 16 Jun 2021 15:34:23 +0000 (08:34 -0700)
commitb5c4fc0f232b6368bbd7cd8681a6931f2c30ad02
tree9876b71a7b695e0a4e26853b6f224c87a2b3a198
parentce95200b7942bb0683fd491800bbd9e1dc908e04
[NFC][libomptarget] Reduce the dependency on libelf

This change-set removes libelf usage from elf_common part of the plugins.
libelf is still used in x86_64 generic plugin code and in some plugins
(e.g. amdgpu) - these will have to be cleaned up in separate checkins.

Differential Revision: https://reviews.llvm.org/D103545
openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
openmp/libomptarget/plugins/common/elf_common/elf_common.cpp [new file with mode: 0644]
openmp/libomptarget/plugins/common/elf_common/elf_common.h
openmp/libomptarget/plugins/remote/server/CMakeLists.txt