Displaying 7 results from an estimated 7 matches for "gcc_except_table1".
Did you mean:
gcc_except_table
2010 Feb 05
3
[LLVMdev] Exception Table Padding Change
Hi Duncan et al,
Our linker guy brought up a problem with how we pad out our exception tables. Right now we pad them out like this:
.section __DATA,__gcc_except_tab
.align 2
GCC_except_table13:
.byte 0x0 #< --- hun?
.byte 0x0 #< --- hun?
Lexception13:
.byte 0xFF
.byte 0x0
.byte 0xB2, 0x1
>
Here are his comments:
The problem is that the linker parses FDE which gives it all the LSDA starts. The __eh_frame and __gcc_except_tab sections should not need any labels,...
2010 Jan 22
0
[LLVMdev] Exception handling question
...lq g
.Llabel2:
# BB#1: # %c
addq $8, %rsp
ret
.LBB1_2:
# %u
.Llabel3:
addq $8, %rsp
ret
.size f, .-f
.Leh_func_end1:
.section .gcc_except_table,"a", at progbits
.align 4
GCC_except_table1:
.byte 0
# Padding
.byte 0
# Padding
.Lexception1:
.byte 255
# @LPStart format
(omit)
.byte 0...
2010 Jan 22
2
[LLVMdev] Exception handling question
..., %edi
xorb %al, %al
call printf
xorl %eax, %eax
addq $56, %rsp
ret
.size _ZN4N0014Main5test5EN2IO6WriterEiA_l,
.-_ZN4N0014Main5test5EN2IO6WriterEiA_l
.Lfunc_end153:
.Leh_func_end153:
.section .gcc_except_table,"a", at progbits
.align 4
GCC_except_table153:
.byte 0x0 # Padding
.Lexception153:
.byte 0xFF # @LPStart format
(DW_EH_PE_omit)
.byte 0x0 # @TType format
(DW_EH_PE_absptr)
.uleb128 28...
2010 Jan 21
4
[LLVMdev] Exception handling question
Hi,
I'm trying to get exception handling working in my compiler targetting LLVM.
I've been working from the LLVM exception handling documentation (including
http://llvm.org/docs/ExceptionHandling.html and
http://wiki.llvm.org/HowTo:_Build_JIT_based_Exception_mechanism) and looking
at g++-llvm's output.
I've been trying to get a minimal test function to work, which simply
invokes
2010 Jan 22
0
[LLVMdev] Exception handling question
...; xorl %eax, %eax
> addq $56, %rsp
> ret
> .size _ZN4N0014Main5test5EN2IO6WriterEiA_l,
> .-_ZN4N0014Main5test5EN2IO6WriterEiA_l
> .Lfunc_end153:
> .Leh_func_end153:
> .section .gcc_except_table,"a", at progbits
> .align 4
> GCC_except_table153:
> .byte 0x0 # Padding
> .Lexception153:
> .byte 0xFF # @LPStart format
> (DW_EH_PE_omit)
> .byte 0x0 # @TType format
> (DW_EH_PE_absptr)
&...
2011 Aug 05
0
[LLVMdev] RFC: Exception Handling Rewrite
...w an "A" type. (The 0x7f in the action record table is a negative 1-based offset into the exception specification table, which itself is a positive 1-based offset into the type table.) Now look at bar:
.align 4,0x90
.globl __Z3barv
__Z3barv:
. . .
LEHB2:
call __Z3bazv
LEHE2:
. . .
GCC_except_table1:
LLSDA9:
.byte 0xff # @LPStart format (omit)
.byte 0x9b # @TType format (indirect pcrel sdata4)
.byte 0x59 # uleb128 0x59; @TType base offset
.byte 0x3 # call-site format (udata4)
.byte 0x41 # uleb128 0x41; Call-site table length
.set L$set$5,LEHB2-LFB9
.long L$set$5 # region 0 start
.set L...
2011 Aug 05
3
[LLVMdev] RFC: Exception Handling Rewrite
Bill,
ooops, yes, I described the meaning of "throw(A)" backwards,
but I still
think my example shows why you cannot merge LandingpadInst while
inlining because multiple filter-lists on a LandingpadInst don't make
sense.
Perhaps I'm reading your original spec wrong, perhaps I'm mis-reading
Duncan's emails, but I read them to mean that your syntax supports