[PATCH] D13820: [libunwind] Add FreeBSD _Unwind_Ptr typedef
Ed Maste via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 16 12:42:19 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL250541: Add FreeBSD _Unwind_Ptr typedef (authored by emaste).
Changed prior to commit:
http://reviews.llvm.org/D13820?vs=37615&id=37628#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13820
Files:
libunwind/trunk/src/AddressSpace.hpp
Index: libunwind/trunk/src/AddressSpace.hpp
===================================================================
--- libunwind/trunk/src/AddressSpace.hpp
+++ libunwind/trunk/src/AddressSpace.hpp
@@ -35,7 +35,11 @@
#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);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13820.37628.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151016/0d813f7e/attachment.bin>
More information about the cfe-commits
mailing list