Asm Parser: support .error directive
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 23 Feb 2014 23:02:23 +0000 (23:02 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 23 Feb 2014 23:02:23 +0000 (23:02 +0000)
commit66312539071bb2df545be7fda5b56afe15c04101
treead87c2ffffe65ced06a5fdcbaf2dd30c818d2971
parente3d661f5470d9fd8aa2cc2a3a20db34a1643e402
Asm Parser: support .error directive

The .error directive is similar to .err in that it will halt assembly if it is
evaluated for assembly.  However, it permits a user supplied message to be
rendered.

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