search for: _unwind_getcfa

Displaying 4 results from an estimated 4 matches for "_unwind_getcfa".

2007 Dec 08
4
[LLVMdev] Darwin vs exceptions
...=============================================================== --- 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's strategy of making every C++ selector claim that it has a catch-all handler at the end, as described here http://...
2007 Dec 08
0
[LLVMdev] Darwin vs exceptions
...========================== > --- 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. Right, this is effectively part of the darwin ABI now. > The effect of this is that llvm's strategy of making every C++...
2020 Aug 15
5
Supporting libunwind on Windows 10 (32bit; 64bit) for MSVC and Clang
...^ C:/Users/clang/libunwind/include\unwind.h:344:20: note: previous declaration is here extern const void *_Unwind_Find_FDE(const void *pc, struct dwarf_eh_bases *); ^ C:/Users/clang/libunwind/src/UnwindLevel1-gcc-ext.c:208:29: warning: redeclaration of '_Unwind_GetCFA' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration] _LIBUNWIND_EXPORT uintptr_t _Unwind_GetCFA(struct _Unwind_Context *context) { ^ C:/Users/clang/libunwind/include\unwind.h:312:18: note: previous declaration is here extern uintptr_t _Unw...
2009 Sep 18
1
[LLVMdev] Exception Handling Tables Question
On Sep 17, 2009, at 6:03 PM, Duncan Sands wrote: > Hi Bill, > >>>> Yeah. The logic will need tweaking for sure. I'm also concerned >>>> about the >>>> _Unwind_resume() call. GCC emits a call site region for it in the >>>> exception >>>> table. We...kind of do that. It looks like it's being included in >>>>