http://llvm.org/bugs/show_bug.cgi?id=21494
Bug ID: 21494
Summary: It might be worth it to lazy link globals too
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Linker
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Given
@foo = private global i8 0
define private void @foo2() {
ret void
}
@bar = linkonce_odr global i8 0
define linkonce_odr void @bar2() {
ret void
}
The linker will copy the globals, but not the functions. It would probably be a
good idea to be lazy about the globals too.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs