Add FreeBSD _Unwind_Ptr typedef

Differential Revision:	http://reviews.llvm.org/D13820

llvm-svn: 250541
This commit is contained in:
Ed Maste 2015-10-16 19:40:09 +00:00
parent 0091862801
commit 5f1896a1ab

View File

@ -35,7 +35,11 @@ namespace libunwind {
#include "Registers.hpp"
#if _LIBUNWIND_ARM_EHABI
#ifdef __linux__
#if defined(__FreeBSD__)
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);