The ElfW() macro is not provided by <link.h> on some
systems (e.g., FreeBSD). On these systems the data structures are
just called Elf_XXX. Define ElfW() locally.
(This fix is taken from libunwind.)
Differential D75907
[compiler-rt] Define ElfW() macro if it's not defined broadwaylamb on Mar 10 2020, 4:48 AM. Authored by
Details The ElfW() macro is not provided by <link.h> on some (This fix is taken from libunwind.)
Diff Detail
Event TimelineComment Actions *sigh* ELF, couldn't you just add that macro to the standard? (We have something similar in libunwind to deal with this). LGTM |