search for: deadstripnev

Displaying 5 results from an estimated 5 matches for "deadstripnev".

Did you mean: deadstripnever
2013 Aug 27
3
[LLVMdev] [lld] adding deadStrip() to undefined Atoms
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
2013 Aug 27
0
[LLVMdev] [lld] adding deadStrip() to undefined Atoms
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 link...
2012 Nov 09
2
[LLVMdev] lld deadstrip atoms
...roots (other types) Question:- *********** How are the dead strip root names supposed to be set ? Does each Reader need to set specific information on what are the dead strip roots ? There is a flag in the DefinedAtom to determine whether to deadstrip an atom, deadStripNormal, deadStripAlways, deadStripNever Question :- ************ a) What is the difference between deadStripNormal/deadStripAlways ? b) Further looking, there is a compiler attribute __attribute(used)__ which could be set for each symbol, but this is only a compiler hint. The information is not passed in the symbol table. If this i...
2013 Aug 27
1
[LLVMdev] [lld] adding deadStrip() to undefined Atoms
Hi Nick, On 8/27/2013 12:45 AM, Nick Kledzik wrote: > 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? We have these optio...
2012 Nov 12
0
[LLVMdev] lld deadstrip atoms
...ed from the dylib. All others are marked hidden. And if the -dead_strip linker option is used, any atoms not reachable from the API atoms are dead stripped away. > > There is a flag in the DefinedAtom to determine whether to deadstrip an atom, > > deadStripNormal, deadStripAlways, deadStripNever > > Question :- > ************ > a) What is the difference between deadStripNormal/deadStripAlways ? The idea for deadStripAlways is that some file formats have atoms which are optional and should only be kept by the linker if actually used by something. I do not plan to use it for...