diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-01-06 21:31:07 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-01-06 21:31:07 +0000 |
| commit | 5dc6cc42f45870f511ac8eb8a1afcffcdfd88435 (patch) | |
| tree | 2fa1f2aa7a1f7a446f26d2e5084ab0f1f1b58d0d /contrib/llvm/projects/libunwind/src/AddressSpace.hpp | |
| parent | dbc595b2aef4a0b0f115d7297ee1234f6ade8d21 (diff) | |
| parent | 5fc656f1876fd2ec306182f830049874b23fbfa3 (diff) | |
Notes
Diffstat (limited to 'contrib/llvm/projects/libunwind/src/AddressSpace.hpp')
| -rw-r--r-- | contrib/llvm/projects/libunwind/src/AddressSpace.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/llvm/projects/libunwind/src/AddressSpace.hpp b/contrib/llvm/projects/libunwind/src/AddressSpace.hpp index 567cbdad92e22..55828df2856da 100644 --- a/contrib/llvm/projects/libunwind/src/AddressSpace.hpp +++ b/contrib/llvm/projects/libunwind/src/AddressSpace.hpp @@ -35,7 +35,12 @@ namespace libunwind { #include "Registers.hpp" #if _LIBUNWIND_ARM_EHABI -#ifdef __linux__ +#if defined(__FreeBSD__) + +#include <sys/link_elf.h> +typedef void *_Unwind_Ptr; + +#elif defined(__linux__) typedef long unsigned int *_Unwind_Ptr; extern "C" _Unwind_Ptr __gnu_Unwind_Find_exidx(_Unwind_Ptr addr, int *len); |
