[LLVMbugs] [Bug 17108] New: Don't resolve an undefined reference to a linkonce_* definition
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Sep 5 05:34:04 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17108
Bug ID: 17108
Summary: Don't resolve an undefined reference to a linkonce_*
definition
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Linker
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
llvm-link currently is OK with linking
-------------
define void @g() {
call void @f()
ret void
}
declare void @f()
-------------
with
--------------
define linkonce_odr void @f() {
ret void
}
--------------
Since linkonce_* definitions can be dropped, it would be nice for the linker to
reject this. It would have made pr13124 easier to see for example.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130905/31b860d3/attachment.html>
More information about the llvm-bugs
mailing list