[llvm-dev] linkonce_odr & coff

Carlo Kok via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 1 09:06:33 PDT 2016

I have @_rtti_a_a = linkonce_odr constant in two files that end up as 
coff object files. Shoudln't the linkonce_odr prevent duplicate symbol: 
__rtti_a_a \consoleapplication149.o and __rtti_a_a island.lib(island.o) 
from happening in LLD?

If not what alternative can I use? THis is used for template like 
generics, so having duplicate functions and globals is going to happen a 

(Side note: How do I see linkonce* when dumping object files?)
Carlo Kok
RemObjects Software

More information about the llvm-dev mailing list