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

           Summary: llvm-ld drops attributes off defnitions of functions
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Essentially the issue is that when llvm-ld merges a function decl without
attributes with a function decl with attributes, it loses the attributes.

I'll attach a testcase in a bit; it's two files, and the test is to run
"llvm-ld first.bc second.bc", then check the definition of check0 to make sure
the attributes are preserved.


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to