aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEd Schouten <ed@nuxi.nl>2015-04-29 20:43:44 +0000
committerEd Schouten <ed@nuxi.nl>2015-04-29 20:43:44 +0000
commit8fd97a3aded4974cefbd5b315fe7393cdad48d32 (patch)
treedb4f284953946a2b769b4ec13667599aeadcaf24 /clang/lib/CodeGen/CodeGenModule.cpp
parent8c7829b82f72882154ec8a0d7716b20a5ba43ff7 (diff)
downloadllvm-8fd97a3aded4974cefbd5b315fe7393cdad48d32.zip
llvm-8fd97a3aded4974cefbd5b315fe7393cdad48d32.tar.gz
llvm-8fd97a3aded4974cefbd5b315fe7393cdad48d32.tar.bz2
Make the .eh_frame_hdr code work on FreeBSD as well.
We currently only include <link.h> on CloudABI and Linux. We can enable it on FreeBSD as well, as it also supports the dl_iterate_phdr() function that's provided by <link.h>. FreeBSD, however, does not provide the ElfW() macro. Instead, the host-specific ELF datastructures are named just Elf_XXX in addition to the host-independent Elf32_XXX and Elf64_XXX types. Differential Revision: http://reviews.llvm.org/D8169 Approved by: emaste llvm-svn: 236154
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions