Displaying 20 results from an estimated 29 matches for "_unwind_exception".
2011 Mar 06
2
[LLVMdev] _Unwind_Exception and _Unwind_Resume
Here's an interesting problem - is it legal to copy the _Unwind_Exception
struct to a different address in memory before calling _Unwind_Resume?
I'm thinking of the scenario in which a garbage collection run is triggered
in the middle of a "finally" block. If it's a copying collector, it might
relocate the exception object, which has the _Unwind_Except...
2011 Mar 07
0
[LLVMdev] _Unwind_Exception and _Unwind_Resume
On Mar 6, 2011, at 11:01 AM, Talin wrote:
> Here's an interesting problem - is it legal to copy the _Unwind_Exception struct to a different address in memory before calling _Unwind_Resume?
>
> I'm thinking of the scenario in which a garbage collection run is triggered in the middle of a "finally" block. If it's a copying collector, it might relocate the exception object, which has the _Unw...
2011 Mar 07
1
[LLVMdev] _Unwind_Exception and _Unwind_Resume
On Sun, Mar 6, 2011 at 7:37 PM, John McCall <rjmccall at apple.com> wrote:
> On Mar 6, 2011, at 11:01 AM, Talin wrote:
> > Here's an interesting problem - is it legal to copy the _Unwind_Exception
> struct to a different address in memory before calling _Unwind_Resume?
> >
> > I'm thinking of the scenario in which a garbage collection run is
> triggered in the middle of a "finally" block. If it's a copying collector,
> it might relocate the exception ob...
2010 Jan 22
4
[LLVMdev] Exception handling question
Hi Garrison,
> %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)*
> @_Unwind_RaiseException to i8* (...)*)(i64* %6)
> to label %8 unwind label %.finally_pad ; <i8*> [#uses=0]
>
> I am not sure this is going to work, at least from the way I've played
> with the system.
> In my examples the _Unwind_RaiseException(...) i...
2007 Aug 29
1
[LLVMdev] RFC: Patch for Exceptions
On 8/29/07, Bill Wendling <isanbard at gmail.com> wrote:
> On 8/29/07, Anton Korobeynikov <asl at math.spbu.ru> wrote:
> > Hello, Bill
> >
> > > It may be my lack of understanding, but it appears that having --
> > > enable-eh set during compilation of llvm-gcc is causing extra files
> > > to be compiled.
> > Oh, no. They are always
2018 Dec 10
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...^ ~
3 errors generated.
[148/207] Building C object
lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/gcc_personality_v0.c.o
/home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:148:47:
warning: declaration of 'struct _Unwind_Exception' will not be visible
outside of this function [-Wvisibility]
_Unwind_Reason_Code __gnu_unwind_frame(struct _Unwind_Exception *,
^
/home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:153:23:
warning: declaration of 'stru...
2018 Dec 13
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...^ ~
>> 3 errors generated.
>> [148/207] Building C object lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/gcc_personality_v0.c.o
>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:148:47: warning: declaration of 'struct _Unwind_Exception' will not be visible outside of this function [-Wvisibility]
>> _Unwind_Reason_Code __gnu_unwind_frame(struct _Unwind_Exception *,
>> ^
>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:153:23: warning:...
2020 Aug 15
5
Supporting libunwind on Windows 10 (32bit; 64bit) for MSVC and Clang
...by
macro definition [-Wkeyword-macro]
#define static_assert(__b, __m) \
^
C:/Users/clang/libunwind/src/UnwindLevel1.c:350:1: warning: redeclaration
of '_Unwind_RaiseException' should not add 'dllexport' attribute
[-Wdll-attribute-on-redeclaration]
_Unwind_RaiseException(_Unwind_Exception *exception_object) {
^
C:/Users/clang/libunwind/include\unwind.h:174:5: note: previous declaration
is here
_Unwind_RaiseException(_Unwind_Exception *exception_object);
^
C:/Users/clang/libunwind/src/UnwindLevel1.c:385:1: warning: redeclaration
of '_Unwind_Resume' should not add '...
2018 Dec 14
3
Compiling for baremetal ARMv4 on Ubuntu Linux
...^ ~
> > 3 errors generated.
> > [148/207] Building C object lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/gcc_personality_v0.c.o
> > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:148:47: warning: declaration of 'struct _Unwind_Exception' will not be visible outside of this function [-Wvisibility]
> > _Unwind_Reason_Code __gnu_unwind_frame(struct _Unwind_Exception *,
> > ^
> > /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:153:23: warnin...
2010 Jan 22
0
[LLVMdev] Exception handling question
Hi James,
Looking at:
%7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* @_Unwind_RaiseException to i8* (...)*)(i64* %6)
to label %8 unwind label %.finally_pad ; <i8*> [#uses=0]
I am not sure this is going to work, at least from the way I've played with the system.
In my examples the _Unwind_RaiseException(...) is called from a frame (function)...
2019 Feb 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...~
> >>> 3 errors generated.
> >>> [148/207] Building C object lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/gcc_personality_v0.c.o
> >>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:148:47: warning: declaration of 'struct _Unwind_Exception' will not be visible outside of this function [-Wvisibility]
> >>> _Unwind_Reason_Code __gnu_unwind_frame(struct _Unwind_Exception *,
> >>> ^
> >>> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_person...
2010 Jan 22
3
[LLVMdev] Exception handling question
2010/1/22 James Williams <junk at giantblob.com>
>
>
> 2010/1/22 Duncan Sands <baldrick at free.fr>
>
>> Hi James,
>>
>>
>> I get the expected output (after changing i32 @llvm.eh.selector() to i64
>>> llvm.eh.selector.i64())
>>>
>>
>> in top-of-tree, llvm.eh.selector.i64 has been removed (though bitcode will
>>
2013 Apr 11
0
[LLVMdev] object file/linking is missing my exception handlers
Hi,
On 11/04/13 06:06, edA-qa mort-ora-y wrote:
> I have some exception handling which works fine using the JIT. Now I am
> producing object files and linking them, but the exception handling
> tables seem to be missing. I call _Unwind_RaiseException and get
> _URC_END_OF_STACK as a result.
you will get this if no catch clauses match (eg because there are no catch
clauses, perhaps
2019 Mar 04
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...^ ~
> 3 errors generated.
> [148/207] Building C object lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/gcc_personality_v0.c.o
> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:148:47: warning: declaration of 'struct _Unwind_Exception' will not be visible outside of this function [-Wvisibility]
> _Unwind_Reason_Code __gnu_unwind_frame(struct _Unwind_Exception *,
> ^
> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:153:23: warning: declaration...
2019 Mar 11
2
Compiling for baremetal ARMv4 on Ubuntu Linux
...^ ~
> 3 errors generated.
> [148/207] Building C object lib/builtins/CMakeFiles/clang_rt.builtins-armhf.dir/gcc_personality_v0.c.o
> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:148:47: warning: declaration of 'struct _Unwind_Exception' will not be visible outside of this function [-Wvisibility]
> _Unwind_Reason_Code __gnu_unwind_frame(struct _Unwind_Exception *,
> ^
> /home/llvm_all/llvm/projects/compiler-rt/lib/builtins/gcc_personality_v0.c:153:23: warning: declaration...
2010 Jan 19
1
[LLVMdev] compiler-rt project PATCH
In lib/gcc_personality_v0.c, I believe the type of the exception_cleanup member of the struct
_Unwind_Exception is incorrect. It has a return type of _Unwind_Reason_Code versus a return
type of void as specified in http://refspecs.freestandards.org/abi-eh-1.21.html, and as can be seen
in unwind.h on Linux, and OS X 10.6.x (the latter's unwind.h is under the Developer directory tree).
The attached patc...
2003 Dec 19
1
[LLVMdev] how to solve this conflict
hi,
when i build hello.cpp, it show following conflict:
-----------------------------------------------------------
[yue at RH9 Shootout-C++]$ llvmg++ hello.cpp -o hello
WARNING: Type conflict between types named 'struct._Unwind_Exception'.
Src='{ ulong, void (uint, \4 *) *, uint, uint }'.
Dest='{ ulong, void (ubyte, \4 *) *, uint, uint }'
gccld: error linking in 'gcc_s': Function 'long (long)':"__negdi2" -
Function is already defined!
-----------------------------------
yueqia...
2010 Jan 22
0
[LLVMdev] Exception handling question
2010/1/22 Duncan Sands <baldrick at free.fr>
> Hi Garrison,
>
>
> %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)*
>> @_Unwind_RaiseException to i8* (...)*)(i64* %6)
>> to label %8 unwind label %.finally_pad ; <i8*> [#uses=0]
>>
>> I am not sure this is going to work, at least from the way I've played
>> with the system. In my examples the _Unwind_RaiseExcept...
2010 Jan 21
0
[LLVMdev] Exception handling question
...body
>
> .try_body: ; preds = %4
> %5 = load %33** %e ; <%33*> [#uses=1]
> %6 = getelementptr inbounds %33* %5, i32 0, i32 2, i32 0 ; <i64*> [#uses=1]
> %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* @_Unwind_RaiseException to i8* (...)*)(i64* %6)
> to label %8 unwind label %.finally_pad ; <i8*> [#uses=0]
>
> ; <label>:8 ; preds = %.try_body
> br label %.finally_handler
>
> .finally_pad:...
2010 Jan 22
0
[LLVMdev] Exception handling question
...m is with the exception data since his personality function is not invoked.
I would test the code directly but I don't yet have non-JIT experience with LLVM.
Garrison
On Jan 22, 2010, at 6:51, Duncan Sands wrote:
> Hi Garrison,
>
>> %7 = invoke i8* (...)* bitcast (i32 (%struct._Unwind_Exception*)* @_Unwind_RaiseException to i8* (...)*)(i64* %6)
>> to label %8 unwind label %.finally_pad ; <i8*> [#uses=0]
>> I am not sure this is going to work, at least from the way I've played with the system. In my examples the _Unwind_RaiseException(...) is called from a f...