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)
commitaf06a883782c55f541bf80f3cb5a42c3a70b3ee4
tree5a3bdb5ab377d245f05863f7419d8a59300ee402
parent7655381aa1f27729966c16b16599fba802dacec1
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

llvm-svn: 241149
llvm/lib/MC/MCParser/ELFAsmParser.cpp
llvm/test/MC/ELF/gnu-type-diagnostics.s