Displaying 3 results from an estimated 3 matches for "lower_eh_dispatch".
2010 Dec 07
3
[LLVMdev] Inlining and exception handling in LLVM and GCC
...ce the list of associated
catches is stored in the region info, there is no need for it to explicitly
list tries and where to branch to, while Bill is obliged to put the info that
GCC stores in the region directly into his dispatch instruction.
Once GCC has finished running the inliner it runs the lower_eh_dispatch pass,
which removes all gimple_eh_dispatch statements by turning them into explicit
control flow: a sequence of comparisons and branches (exactly like the code
llvm-gcc/clang produce right now, comparing the selector value with the result
of eh.typeid.for calls). Since my proposal doesn't chan...
2010 Dec 07
0
[LLVMdev] Inlining and exception handling in LLVM and GCC
Hi Duncan,
Amazing post, thank you very much!
Now I have a clear mental image of the whole problem and can see where
you were coming from to propose such a change.
On 6 December 2010 21:58, Duncan Sands <baldrick at free.fr> wrote:
> Bill's recent exception handling proposal has rules which (if I understand
> them right) ensure that you can always find the actions for an invoke
2010 Dec 06
4
[LLVMdev] Inlining and exception handling in LLVM and GCC
The poor interaction between exception handling and inlining in LLVM is one of
the main motivations for the new exception handling models proposed recently.
Here I give my analysis of the origin of the problem in the hope of clarifying
the situation.
Soon after dwarf exception handling was implemented in LLVM, I noticed that some
programs would fail when compiled at -O3, for example the