HomePhabricator

Fix parsing of .symver directive on ARM
rL199339Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Auditors
grosbach
Committed
dpeixottJan 15 2014, 2:40 PM
Parents
rL199338: [LTO] Add a hook to map LLVM diagnostics into the clients of LTO.
Branches
Unknown
Tags
Unknown

Event Timeline