HomePhabricator

[AsmParser] Make generic directives and aliases case insensitive.
Audit Required37fb3b33637b

Authored by DavidSpickett on Jan 14 2020, 1:26 AM.

Description

[AsmParser] Make generic directives and aliases case insensitive.

GCC will accept any case for assembler directives.
For example ".abort" and ".ABORT" (even ".aBoRt")
are equivalent.

https://sourceware.org/binutils/docs/as/Pseudo-Ops.html#Pseudo-Ops
"The names are case insensitive for most targets,
and usually written in lower case."

Change llvm-mc to accept any case for generic directives
or aliases of those directives.

This for Bugzilla #39527.

Differential Revision: https://reviews.llvm.org/D72686

Event Timeline

This commit now requires audit.Jan 17 2020, 3:11 AM

@grosbach I've not seen this "requires audit" before. Did the change cause a problem/do you need any actions from me on this?