[LLVMdev] Combining LinkOnce and External
Talin
viridia at gmail.com
Tue Jun 10 23:28:43 PDT 2008
Chris Lattner wrote:
> On Jun 9, 2008, at 7:13 PM, Talin wrote:
>
>> Before I go writing a bug report, I want to know if the behavior I am
>> seeing is intended.
>>
>> Before 1.3, I was able to generate a linkonce definition in one
>> module,
>> and an external declaration in another module and link them together,
>> with the result being a defined symbol with external linkage. However,
>> with the latest head, it apparently discards the linkonce version, and
>> my output contains the declaration only, which fails when I try to
>> generate code.
>>
>> Is it legal to combine linkonce and external in this way?
>>
>
> sounds like a serious bug. Please file a bug report, I may have
> recently broken this with a fix for another bug :(
>
Actually, it turns out it was a mistake on my part - at least, when I
tried to narrow it down to the smallest possible test case, I could no
longer reproduce it. So, no bug...I think.
> -Chris
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmde
More information about the llvm-dev
mailing list