[llvm-bugs] [Bug 39527] Assembly directives handling needs to be case ignorant

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 17 04:08:12 PST 2020


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

David Spickett <david.spickett at arm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.spickett at arm.com
 Fixed By Commit(s)|                            |37fb3b33637b7ac120d68792ad2
                   |                            |246c8b5d7eeff
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from David Spickett <david.spickett at arm.com> ---
Fixed by commit 37fb3b33637b7ac120d68792ad2246c8b5d7eeff "[AsmParser] Make
generic directives and aliases case insensitive."

$ cat /tmp/test.s
.GLOBAL alarm

Before:
$ clang -c /tmp/test.s
/tmp/test.s:1:1: error: unknown directive
.GLOBAL alarm
^

After:
$ ./bin/clang -c /tmp/test.s
<no errors>

This only applies to the generic directives like global that you mentioned. I
intend to apply the same logic to the Arm/AArch64 directives when I have time.

For now I'll close this as the immediate problem is fixed.

-- 
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/20200117/bace627c/attachment-0001.html>


More information about the llvm-bugs mailing list