llvm-project/openmp/libomptarget/plugins/amdgpu/impl
Dimitry Andric 71ae2e0221 [libomptarget][amdgpu] don't declare Elf_Note on FreeBSD
On FreeBSD, the system `<libelf.h>` already declares `struct Elf_Note`
indirectly (via `<sys/elf_common.h>`). This results in compile errors
when building the libomptarget amdgpu plugin. Avoid redeclaring `struct
Elf_Note` on FreeBSD to fix the errors.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D107661
2021-08-06 21:45:26 +02:00
..
atmi.cpp [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
atmi.h [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
atmi_interop_hsa.cpp [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
atmi_interop_hsa.h [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
atmi_runtime.h [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
data.cpp [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
get_elf_mach_gfx_name.cpp [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
get_elf_mach_gfx_name.h [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
hsa_api.h [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
internal.h [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
machine.cpp [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
machine.h [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
msgpack.cpp [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
msgpack.def [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
msgpack.h [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
rt.h [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00
system.cpp [libomptarget][amdgpu] don't declare Elf_Note on FreeBSD 2021-08-06 21:45:26 +02:00
utils.cpp [libomptarget][amdgpu][nfc] Normalise license headers 2021-07-22 20:23:41 +01:00