[LLVMbugs] [Bug 308] NEW: getObjectType doesn't understand abbreviated names in headers

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Mar 31 11:33:27 PST 2004


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

           Summary: getObjectType doesn't understand abbreviated names in
                    headers
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Bytecode Reader
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gaeke+bugs at uiuc.edu


If getObjectType is passed an archive member whose name has been abbreviated in the ar header, it 
might return the wrong type. This is because we're not passing in the decoded name; we're passing in 
just the ar header.

The effect of this bug is to cause spurious warnings while linking archives (e.g. libstdc++) with gccld. It 
could theoretically happen on any platform, I think, but I noticed it on the Mac.



------- 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