search for: deadstripalway

Displaying 2 results from an estimated 2 matches for "deadstripalway".

Did you mean: deadstripalways
2012 Nov 09
2
[LLVMdev] lld deadstrip atoms
...t are dead strip 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 t...
2012 Nov 12
0
[LLVMdev] lld deadstrip atoms
...ymbols are exported 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...