[LLVMbugs] [Bug 2382] New: llvm-ld drops attributes off defnitions of functions

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu May 29 01:52:05 PDT 2008


           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: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu

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.

More information about the llvm-bugs mailing list