[LLVMdev] Combining LinkOnce and External
sabre at nondot.org
Wed Jun 11 01:00:24 CDT 2008
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
> 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 :(
More information about the LLVMdev