diff options
| author | Dimitry Andric <dimitry@andric.com> | 2021-08-06 21:06:08 +0200 |
|---|---|---|
| committer | Dimitry Andric <dimitry@andric.com> | 2021-08-06 21:45:26 +0200 |
| commit | 71ae2e0221a99958ed82175781d92a73ea05597c (patch) | |
| tree | 529b4ac2a2d189bc8233cae900f52ccace834136 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 5b9a94414eb93e526ed507d5144ca71bc8f63fb2 (diff) | |
[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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
