Hey everybody!<br><br>I have been using llvm 2.8 (i know ancient history!) for a backend that i was implementing. I have been trying to port my patches to latest llvm (svn build) lately but i have one problem as far as the Exception Handling mechanism is concerned. It seems that there are no Exception Tables generated any more such as the one below:<br>
<br>.section .gcc_except_table,"a",@progbits<br> .align 4<br>GCC_except_table0:<br>.Lexception0:<br> .byte 255 # @LPStart Encoding = omit<br> .byte 3 # @TType Encoding = udata4<br>
.uleb128 41 # @TType base offset<br> .byte 3 # Call site Encoding = udata4<br> .uleb128 39 # Call site table length<br>.Lset0 = .Leh_func_begin0-.Leh_func_begin0 # Region start<br>
.long .Lset0<br>.Lset1 = .Ltmp0-.Leh_func_begin0 # Region length<br> .long .Lset1<br> .long 0 # Landing pad<br> .uleb128 0 # Action<br>.Lset2 = .Ltmp0-.Leh_func_begin0 # Region start<br>
.long .Lset2<br>.Lset3 = .Ltmp1-.Ltmp0 # Region length<br> .long .Lset3<br>.Lset4 = .Ltmp2-.Leh_func_begin0 # Landing pad<br> .long .Lset4<br> .uleb128 0 # Action<br>
.Lset5 = .Ltmp1-.Leh_func_begin0 # Region start<br> .long .Lset5<br>.Lset6 = .Leh_func_end0-.Ltmp1 # Region length<br> .long .Lset6<br> .long 0 # Landing pad<br> .uleb128 0 # Action<br>
.align 4<br><br><br>I've searched for this but i couldn't find some documentation about the changes in the EH staff and the documentation on the website is not complete... Is there any way i can force the generation of these tables in current LLVM?<br>
<br>Thanks in advance,<br>Yiannis<br>