Have the integrated assembler give an error if $1 is used as an identifier in
authorKevin Enderby <enderby@apple.com>
Tue, 22 Jan 2013 21:09:20 +0000 (21:09 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 22 Jan 2013 21:09:20 +0000 (21:09 +0000)
commit0017d8a4691e99ba1e15c351938f023ede03115e
treebe75cb4e3f921c8ce336eeb490b415d9edcc36f0
parent163ca0e95e9b93da612bc681c4fd89765f397ada
Have the integrated assembler give an error if $1 is used as an identifier in
an expression.  Currently this bug causes the line to be ignored in a
release build and an assert in a debug build.

rdar://13062484

llvm-svn: 173195
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/test/MC/MachO/bad-dollar.s [new file with mode: 0644]