search for: _ztic

Displaying 5 results from an estimated 5 matches for "_ztic".

Did you mean: _ztii
2009 Mar 13
2
[LLVMdev] how to reslove gcc_except_table?
...tion 118 .LLSDACSE2: 119 .byte 0x1 # Action record table 120 .byte 0x0 121 .byte 0x2 122 .byte 0x7d 123 .byte 0x3 124 .byte 0x7d 125 .align 4 126 .long _ZTIi 127 .long _ZTIc 128 .long _ZTIb 129 .LLSDATT2: ok: my problem is the action(line 117) how to index to the action record table? in Action record table , why there are the magic 0x7d?. $ g++ -v $ Using built-in specs. $ Target: i686-pc-linux-gnu $ Configured with: ../gcc-4.3.2/configure -...
2009 Mar 13
0
[LLVMdev] how to reslove gcc_except_table?
...here 0x3 means that the typeinfo is _ZTIi (int). The 0x7d says that if the typeinfo doesn't match, then the next action to consider is at offset -3 from here. In other words, it will continue with 121 .byte 0x2 122 .byte 0x7d i.e. it will then try and match with _ZTIc. If this doesn't match then the next action to consider is offset -3 from here (0x7d), i.e. it will next examine 119 .byte 0x1 # Action record table 120 .byte 0x0 i.e. it will try and match with _ZTIb. If this doesn't match then it is all over (0x0). &...
2011 Jul 23
0
[LLVMdev] RFC: Exception Handling Rewrite
...; } > > void foo() throw (const char *) { > try { > bar(); > } catch (int i) { > printf("caught integer %d\n", i); > } catch (double d) { > printf("caught double %g\n", d); > } > } > > Produces (see comments inline): > > @_ZTIc = external constant i8* > @.str = private unnamed_addr constant [16 x i8] c"caught char %c\0A\00", align 1 > @_ZTIPKc = external constant i8* > @_ZTIi = external constant i8* > @_ZTId = external constant i8* > @.str1 = private unnamed_addr constant [19 x i8] c"caught i...
2011 Jul 23
14
[LLVMdev] RFC: Exception Handling Rewrite
...atch (char c) { printf("caught char %c\n", c); } } void foo() throw (const char *) { try { bar(); } catch (int i) { printf("caught integer %d\n", i); } catch (double d) { printf("caught double %g\n", d); } } Produces (see comments inline): @_ZTIc = external constant i8* @.str = private unnamed_addr constant [16 x i8] c"caught char %c\0A\00", align 1 @_ZTIPKc = external constant i8* @_ZTIi = external constant i8* @_ZTId = external constant i8* @.str1 = private unnamed_addr constant [19 x i8] c"caught integer %d\0A\00", al...
2014 Apr 01
6
[LLVMdev] Proposal: Loads/stores with deterministic trap/unwind behavior
...737 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140331/913072b5/attachment-0002.patch> -------------- next part -------------- ; RUN: llvm-as < %s | llvm-dis > %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll @_ZTIc = external constant i8* @_ZTId = external constant i8* @_ZTIPKc = external constant i8* define i8 @_Z3barv(i8* %ptr) uwtable optsize ssp { entry: %v = iload i8* %ptr to label %try.cont unwind label %lpad try.cont: ; preds = %entry, %invoke.cont4...