[llvm-bugs] [Bug 49016] New: 16-byte alignment adds significant bloat to the object file

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 3 01:17:40 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=49016

            Bug ID: 49016
           Summary: 16-byte alignment adds significant bloat to the object
                    file
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: wxblank at gmail.com
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, smithp352 at googlemail.com,
                    Ties.Stuij at arm.com

Created attachment 24477
  --> https://bugs.llvm.org/attachment.cgi?id=24477&action=edit
Assembly files (to reproduce the problem) and their corresponding object files

problem.S and okay.S are identical except for alignment; the former uses
16-byte alignment while the latter uses 8-byte. When compiled, problem.o is
~65KB and okay.o is ~1KB.

In both cases, the following command-line was used:

clang -o <file>.o -c <file>.S --target=aarch64-none-eabi

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210203/3ce1e92a/attachment.html>


More information about the llvm-bugs mailing list