Fix PR23872: Integrated assembler error message when using .type directive with ...
authorGabor Ballabas <gaborb@inf.u-szeged.hu>
Wed, 1 Jul 2015 08:58:49 +0000 (08:58 +0000)
committerGabor Ballabas <gaborb@inf.u-szeged.hu>
Wed, 1 Jul 2015 08:58:49 +0000 (08:58 +0000)
commit9f9bf86ed5d39dff7c3641ef30f03b8d9050a27b
tree2754a17eb0a70ffe858ba318afe9db4b66c97c60
parent787b9b4e95de4be493f0b45fb6ce23dafaf2002d
Fix PR23872: Integrated assembler error message when using .type directive with @ in AArch32 assembly.

The AArch32 assembler parses the '@' as a comment symbol, so the error message shouldn't suggest
that '@<type>' is a valid replacement when assembling for AArch32 target.

Differential Revision: http://reviews.llvm.org/D10651

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241149 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/ELFAsmParser.cpp
test/MC/ELF/gnu-type-diagnostics.s