[cfe-commits] r124089 - in /cfe/trunk: lib/CodeGen/CGRTTI.cpp lib/CodeGen/CodeGenModule.cpp test/CodeGenCXX/exceptions-no-rtti.cpp test/CodeGenCXX/key-function-vtable.cpp test/CodeGenCXX/mangle-subst-std.cpp test/CodeGenCXX/rtti-linkage.cpp test/Co...

Douglas Gregor dgregor at apple.com
Mon Jan 24 14:40:09 PST 2011


On Jan 24, 2011, at 1:30 PM, Renato Golin wrote:

> On 24/01/11 17:33, Douglas Gregor wrote:
>> That depends on the linker. With the Mac OS 10.6 dynamic linker, for
>> example, a strong external symbol in one shared library will not get
>> merged with same-named weak symbols in another shared library.
> 
> Oh! I see...
> 
> So what do you do? Mangle them differently? Or just make sure that
> nothing in one object access the symbols in the other objects?

I honestly don't know the details of the optimization. I just know the limits it places on explicit instantiations :)

	- Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110124/d35bf928/attachment.html>


More information about the cfe-commits mailing list