[llvm-bugs] [Bug 18294] [clang-cl] __asm .align is mishandled?

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 20 11:14:20 PDT 2019


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
Happened to notice this, and it looks like it got fixed at some point:

$ ./bin/clang-cl -c t.c && dumpbin -disasm t.obj
...
f:
  0000000000000000: 48 83 EC 28        sub         rsp,28h
  0000000000000004: 90                 nop
  0000000000000005: 90                 nop
  0000000000000006: 66 2E 0F 1F 84 00  nop         word ptr cs:[rax+rax]
                    00 00 00 00
  0000000000000010: E8 00 00 00 00     call        g
  0000000000000015: 90                 nop
  0000000000000016: 48 83 C4 28        add         rsp,28h
  000000000000001A: C3                 ret
...

Same for 32-bit.

-- 
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/20190620/d809a643/attachment-0001.html>


More information about the llvm-bugs mailing list