MCAsmParser: add support for .err directive
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 23 Feb 2014 15:53:30 +0000 (15:53 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 23 Feb 2014 15:53:30 +0000 (15:53 +0000)
commita0d16299c958cde0802d84144c9b1bc524da4f79
treef29bb38aed7c3a583bb67c359cc43c026ad52bae
parentda6ffb33d2bf42ff7f10dc1983123ea00f58840f
MCAsmParser: add support for .err directive

The .err directive produces an error whenever it is assembled.  This can be
useful for preventing assembly when an unexpected condition occurs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201984 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/directive-err.s [new file with mode: 0644]