[LLVMdev] [RFC] Embedding command line options in bitcode (PR21471)

Duncan P. N. Exon Smith dexonsmith at apple.com
Fri Nov 14 15:23:36 PST 2014


> On 2014-Nov-14, at 15:07, Eric Christopher <echristo at gmail.com> wrote:
> 
> 
> > d) linkonce_odr functions with different attributes
> 
> Doesn't this just get handled by lib/Linker?  I figure we keep the
> attributes of the version of the function that "wins".
> 
> 
> Right. Which one wins? You'll get inconsistent results depending on ordering. Of course, you'd get that without linking them, but we should do some sort of checking ideally.

You mean some lib/Linker tests, to make sure that the version of the
function that wins has its own attributes attached, instead of those
of one of the losing functions?  Yup, makes sense.



More information about the llvm-dev mailing list