[llvm-bugs] [Bug 30225] New: Gas uses a "Code alignment factor" of 4, MC uses 1

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 31 11:59:17 PDT 2016


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

            Bug ID: 30225
           Summary: Gas uses a "Code alignment factor" of 4, MC uses 1
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Assemble just

        .cfi_startproc
        .cfi_endproc

with MC and gas and inspect with "readelf --debug=frames". The MC version has

  Code alignment factor: 1

The gas version has

  Code alignment factor: 4

-- 
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/20160831/5857a276/attachment.html>


More information about the llvm-bugs mailing list