Displaying 2 results from an estimated 2 matches for "_unwind_ptr".
2007 Dec 08
4
[LLVMdev] Darwin vs exceptions
...#39;s gcc
sources for that matter; libgcc
lives in a separate repository these days):
Index: gcc/unwind-dw2.c
===================================================================
--- gcc/unwind-dw2.c (revision 124749)
+++ gcc/unwind-dw2.c (working copy)
@@ -1526,7 +1526,7 @@
static inline _Unwind_Ptr
uw_identify_context (struct _Unwind_Context *context)
{
- return _Unwind_GetIP (context);
+ return _Unwind_GetCFA (context);
}
I'm uncertain of the merit of this patch, but it's in shipping Leopard
and works with gcc, so we're
stuck with it.
The effect of this is that llvm...
2007 Dec 08
0
[LLVMdev] Darwin vs exceptions
...> lives in a separate repository these days):
Yuck :)
> Index: gcc/unwind-dw2.c
> ===================================================================
> --- gcc/unwind-dw2.c (revision 124749)
> +++ gcc/unwind-dw2.c (working copy)
> @@ -1526,7 +1526,7 @@
> static inline _Unwind_Ptr
> uw_identify_context (struct _Unwind_Context *context)
> {
> - return _Unwind_GetIP (context);
> + return _Unwind_GetCFA (context);
> }
>
> I'm uncertain of the merit of this patch, but it's in shipping
> Leopard and works with gcc, so we're
> stuck wi...