[LLVMdev] [lld] adding deadStrip() to undefined Atoms
Nick Kledzik
kledzik at apple.com
Mon Aug 26 22:45:31 PDT 2013
On Aug 26, 2013, at 10:20 PM, Shankar Easwaran wrote:
> 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.
Can you give more more background on this? When would you want and undef that causes the whatever defined atom replaces it to be never dead stripped?
For darwin's current linker (ld64), the driver adds an initial undefs to the dead strip root set.
-Nick
More information about the llvm-dev
mailing list