hanchenye-llvm-project/llvm/lib/MC/MCParser
David Peixotto c0f92a2dc9 Fix parsing of .symver directive on ARM
ARM assembly syntax uses @ for a comment, execpt for the second
parameter of the .symver directive which requires @ as part of the
symbol name. This commit fixes the parsing of this directive by
adding a special case for ARM for this one argumnet.

To make the change we had to move the AllowAtInIdentifier variable
to the MCAsmLexer interface (from AsmLexer) and expose a setter for
the value.  The ELFAsmParser then toggles this value when parsing
the second argument to the .symver directive for a target that
uses @ as a comment symbol

llvm-svn: 199339
2014-01-15 22:40:02 +00:00
..
AsmLexer.cpp Cache AllowAtInIdentifier as class variable in AsmLexer 2013-12-06 23:05:33 +00:00
AsmParser.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
CMakeLists.txt
COFFAsmParser.cpp [COFF] Add support for the .secidx directive 2013-12-20 18:15:00 +00:00
DarwinAsmParser.cpp Add Support For .bss Named Section Directive For Darwin Targets. 2013-10-02 14:09:29 +00:00
ELFAsmParser.cpp Fix parsing of .symver directive on ARM 2014-01-15 22:40:02 +00:00
LLVMBuild.txt
MCAsmLexer.cpp Change SMRange to be half-open (exclusive end) instead of closed (inclusive) 2013-01-07 19:00:49 +00:00
MCAsmParser.cpp MCParser: Update method names per coding guidelines. 2013-02-20 22:21:35 +00:00
MCAsmParserExtension.cpp
MCTargetAsmParser.cpp [ms-inline asm] Add the isParsingInlineAsm() function to the MCAsmTargetParser. 2012-10-19 17:57:49 +00:00
Makefile