r203052 - Construct GlobalValues with the correct linkage instead of using setLinkage.

Nick Kledzik kledzik at apple.com
Thu Mar 6 12:59:08 PST 2014


On Mar 6, 2014, at 12:52 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:

> BTW, what is the interaction of N_NO_DEAD_STRIP and S_ATTR_NO_DEAD_STRIP?

N_NO_DEAD_STRIP applies to individual symbols.
S_ATTR_NO_DEAD_STRIP applies to everything in a section.

The linker ORs the two together to decided if an atom is must not be dead stripped.

-Nick





More information about the cfe-commits mailing list