[llvm-commits] Fold duplicate actions for multiple landing pads

Duncan Sands baldrick at free.fr
Sun May 20 02:47:56 PDT 2007


This fixes a FIXME in the dwarf writer: different landing pads
may have the same actions, but a new action entry was being
written for each one.  With this patch only distinct actions
are written.  I was inspired to do this after noticing that
the same action was being output 24 times in an example I
was looking at for other reasons.  For that example, this
patch saves about 80 bytes in the exception table.

Ciao,

Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: action_fold.diff
Type: text/x-diff
Size: 10289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070520/30cc45ac/attachment.diff>


More information about the llvm-commits mailing list