[LLVMbugs] [Bug 58] New: [linker] linkonce globals should link successfully to external globals

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Mon Oct 27 08:20:37 PST 2003


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=58

           Summary: [linker] linkonce globals should link successfully to
                    external globals
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Transformation Utilities
        AssignedTo: sabre at nondot.org
        ReportedBy: sabre at nondot.org


The linker is refusing to link linkonce globals to externally visible globals. 
This is wrong, it should just drop the linkonce global like it does for weak
symbols.

This is tested by Linker/2003-10-27-LinkOncePromote.ll

This does not really effect 1.0, because the C/C++ front-end never produced
linkonce globals.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list