[LLVMbugs] [Bug 21494] New: It might be worth it to lazy link globals too

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 5 14:05:16 PST 2014


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: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141105/baad675a/attachment.html>


More information about the llvm-bugs mailing list