[llvm-bugs] [Bug 27688] clang reorders module level asm statements

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 9 13:10:40 PDT 2016


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |niravd at google.com,
                   |                            |rnk at google.com
         Resolution|---                         |DUPLICATE

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
This is an old, known difference between GCC and LLVM, although
-fno-toplevel-reorder is long gone in GCC. In LLVM, functions, globals,
aliases, and asms are all maintained in separate lists, so it is difficult to
emit them in source order.

The good news is that your issue really seems to be .code16 related, which we
are actively working to support as a compiler pragma.

*** This bug has been marked as a duplicate of bug 6364 ***

-- 
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/20160509/b1f48a7e/attachment.html>


More information about the llvm-bugs mailing list