Displaying 4 results from an estimated 4 matches for "emitlandingpads".
2009 May 30
0
[LLVMdev] Nested exception handlers
Hi Talin,
> Since llvm-gcc is a rather large code base, which I have never looked at
> (or even run), could you give me a starting point of where to look?
I meant: compile some nested C++ with llvm-gcc to see what it does.
Otherwise, look in llvm-convert.cpp, especially EmitLandingPads.
> One thing I'd be interested in knowing is whether the
> llvm.eh.exception() intrinsic can be called more than once in a landing pad.
I committed some stuff a week or so ago which means that you can now
call llvm.eh.exception as many times as you like, from wherever you
like, and get...
2009 May 07
0
[LLVMdev] llvm-gcc's sjlj-eh support
...t if we want llvm to support sjlj-eh, we
should modify the llvm-gcc to generate sjlj-style IR.
yeah, I'm digging into the llvm-gcc now. there are some functions,
at the llvm-gcc
e.g
TreeToLLVM::CreateExceptionValues() ,
BasicBlock *TreeToLLVM::getPostPad(unsigned RegionNo),
void TreeToLLVM::EmitLandingPads(),
void TreeToLLVM::EmitPostPads() ,
void TreeToLLVM::EmitUnwindBlock()
the above functions are relative for llvm-gcc generate the
exception-IR, but for dwarf-style! so we should change these above
functions to generate sjlj-style exception-IR, base on the
different semantics between dwarf-...
2009 May 30
2
[LLVMdev] Nested exception handlers
Since llvm-gcc is a rather large code base, which I have never looked at
(or even run), could you give me a starting point of where to look?
One thing I'd be interested in knowing is whether the
llvm.eh.exception() intrinsic can be called more than once in a landing pad.
Say for example I have a nested try block, so that there are two landing
pads, one for the inner try block, and one for
2010 May 24
2
[LLVMdev] linker errors when trying to link llvm-gcc
...erence to `get_eh_next_catch'
/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree/gcc/../../llvm-gcc-4.2-2.7.source/gcc/llvm-convert.cpp:2227:
undefined reference to `get_eh_next_catch'
libbackend.a(llvm-convert.o): In function `TreeToLLVM::EmitLandingPads()':
/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree/gcc/../../llvm-gcc-4.2-2.7.source/gcc/llvm-convert.cpp:2099:
undefined reference to `classify_eh_handler'
/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gc...