[LLVMdev] [lld] adding deadStrip() to undefined Atoms

Rui Ueyama ruiu at google.com
Mon Aug 26 22:27:56 PDT 2013


I think that's a good idea. One thing we should be careful is not to
unconditionally propagate dead strip attribute from undefined atom to
defined one, but choose the most restrictive one (deadStripNever takes
precedence over deadStripNormal) when replacing an undefined atom with an
defined one.


On Mon, Aug 26, 2013 at 10:20 PM, Shankar Easwaran
<shankare at codeaurora.org>wrote:

> Hi,
>
> Can we add deadStrip() to undefinedAtoms as well ?
>
> This will enable to choose whether we want to set the property
> deadStripNormal or deadStripNever on them.
>
> Also I think it will be cleaner for atoms to be added to deadStripRoot set
> using a single API.
>
> Thanks
>
> Shankar Easwaran
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
> by the Linux Foundation
>
> ______________________________**_________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/**mailman/listinfo/llvmdev<http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130826/09e8e3ab/attachment.html>


More information about the llvm-dev mailing list