[llvm-commits] [llvm] r81928 - /llvm/trunk/lib/CodeGen/DwarfEHPrepare.cpp

Duncan Sands baldrick at free.fr
Tue Sep 15 23:24:13 PDT 2009


Hi Eric,

>  /// NormalizeLandingPads - Normalize and discover landing pads, noting them
>  /// in the LandingPads set.  A landing pad is normal if the only CFG edges
> -/// that end at it are unwind edges from invoke instructions.
> +/// that end at it are unwind edges from invoke instructions. If we inlined
> +/// through an invoke we could have a normal branch from the previous
> +/// unwind block through to the landing pad for the original invoke.

not sure how this is possible, got an example?  In practice I only ever
saw abnormal landing pads due to critical edge splitting.

Ciao,

Duncan.



More information about the llvm-commits mailing list