.cfi directive register parsing flexibility.
authorJim Grosbach <grosbach@apple.com>
Thu, 2 Jun 2011 17:14:04 +0000 (17:14 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 2 Jun 2011 17:14:04 +0000 (17:14 +0000)
commit6f888a80d59f2eb4532dd9940de62c72899cb6fa
treef11ea82f55b5930e321ffecda5c49f7913174cd2
parent84be958ed8db1ba2e0caca8964b7077761694f92
.cfi directive register parsing flexibility.

Parsing a register name/number for .cfi directives can't assume that a
register name starts with a '%' token. Be more flexible and check for a
register number instead. Still unlikely to be perfect, but it allows us
to parse both plain identifiers as register names and integers as register
numbers, which is what we're wanting to support at this point.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132466 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp