[LLVMbugs] [Bug 2410] New: incorrect weak linkage

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jun 3 23:43:17 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2410

           Summary: incorrect weak linkage
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: yingyi.liang at gmail.com
                CC: llvmbugs at cs.uiuc.edu


File1.bc:
define weak i32 @foo() nounwind  {
entry:
        ret i32 1
}

File2.bc:
define i32 @foo() nounwind  {
entry:
        ret i32 2
}

The final version of foo depends on the linkage order of File1.bc and File2.bc.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list