[llvm-commits] [PATCH] [dragonegg] Use alias_pairs, fixes PR10587

Peter Collingbourne peter at pcc.me.uk
Fri Aug 5 12:38:16 PDT 2011


On Fri, Aug 05, 2011 at 04:13:22PM +0200, Duncan Sands wrote:
> Hi Peter,
> 
> > this is basically reverting commit 134356.  I would rather find another way of
> > getting hold of these aliases if possible, since this way makes use of the LTO
> > infrastructure and I was hoping to be able to not make any use of that one day.
> > Any ideas?
> 
> what do you think of doing this in a PLUGIN_ALL_IPA_PASSES_START callback
> instead?
  
Yes, that seems sensible, since that callback is called unconditionally
before gcc empties the alias list.  New patch attached.

Why are you avoiding the use of the LTO infrastructure?  It seems
that you are aiming to support the use of gcc's LTO frontend with
dragonegg, correct?

Thanks,
-- 
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Instead-of-building-aliases-based-on-the-presence-of.patch
Type: text/x-diff
Size: 2647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110805/c8cd1fc5/attachment.patch>


More information about the llvm-commits mailing list