Build libcxx and libcxxabi (succeeding) and libunwind (patch rebased but build not working).
26 lines
822 B
Diff
26 lines
822 B
Diff
From 17e850de43aefe7da87db8c2eaa521e5159c1cbb Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= <hugo@beauzee.fr>
|
|
Date: Fri, 13 May 2016 15:07:26 +0200
|
|
Subject: [PATCH 2/2] Define _Unwind_Ptr on windows
|
|
|
|
---
|
|
src/AddressSpace.hpp | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/AddressSpace.hpp b/src/AddressSpace.hpp
|
|
index 892950f..9751d9e 100644
|
|
--- a/src/AddressSpace.hpp
|
|
+++ b/src/AddressSpace.hpp
|
|
@@ -47,6 +47,8 @@ extern "C" _Unwind_Ptr __gnu_Unwind_Find_exidx(_Unwind_Ptr addr, int *len);
|
|
// Emulate the BSD dl_unwind_find_exidx API when on a GNU libdl system.
|
|
#define dl_unwind_find_exidx __gnu_Unwind_Find_exidx
|
|
|
|
+#elif defined(_WIN32)
|
|
+typedef void *_Unwind_Ptr;
|
|
#elif !defined(_LIBUNWIND_IS_BAREMETAL)
|
|
#include <link.h>
|
|
#else // !defined(_LIBUNWIND_IS_BAREMETAL)
|
|
--
|
|
2.7.4
|
|
|