[LLVMdev] Linking two external linkage GlobalValues

Bram Adams bram.adams at ugent.be
Mon May 28 07:40:45 PDT 2007


Hi,

Op 27-mei-07, om 00:45 heeft Chris Lattner het volgende geschreven:

> -fno-common is a performance win on some targets, but it disallows  
> merging
> of global variables that are defined with no initializers (like your
> example).  Please remove -fno-common, if it builds correctly, then  
> it is
> not an llvm bug.

It was indeed the -fno-common which caused the problems, so it's not  
an LLVM bug.

Kind regards,

Bram Adams
GH-SEL, INTEC, Ghent University (Belgium)



More information about the llvm-dev mailing list