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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Mar 6 10:56:56 PST 2014


On 6 March 2014 13:40, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> looking.

The provided testcase is identical before and after the change.  The
difference on trunk is from r203059.

Nick, can you please explain what does it mean for a symbol to have a
linker private prefix 'l' and yet be weak? Is it just a marker saying
"you can merge this"? Is the merging done by content or symbol name?

At the llvm level, we can merge any internal or private symbol that is
also unnamed_addr. Should we simply add a WeakDef marker for all such
symbols?

Cheers,
Rafael




More information about the cfe-commits mailing list