[LLVMbugs] [Bug 226] NEW: Sparc llc creates global initializers with invalid alignment

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 9 13:56:51 PST 2004


           Summary: Sparc llc creates global initializers with invalid
           Product: libraries
           Version: trunk
          Platform: Sun
        OS/Version: SunOS
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SPARC Backend
        AssignedTo: criswell at uiuc.edu
        ReportedBy: criswell at uiuc.edu

The Sparc Code Generator libraries, used by llc, generate assembly directives
that do not properly alignment padding bytes.  Specifically, sometimes word or
halfword zeros are inserted to pad the end of a structure, but the beginning of
the padding is itself not on a word or halfword boundary.

The LLVM assembly attachment and llc output that I will attach will explain the
problem much better.

I've assigned it to myself as I think I can fix it quickly.

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