Added Mac OS X assembler style conditional assembly. I may come back and see if
authorKevin Enderby <enderby@apple.com>
Fri, 7 Aug 2009 22:46:00 +0000 (22:46 +0000)
committerKevin Enderby <enderby@apple.com>
Fri, 7 Aug 2009 22:46:00 +0000 (22:46 +0000)
commitc114ed711eca29e735e10956883a1010c22d7942
tree9e171faa5b534c3cc797fd27b7d40caeacc003a7
parentb124be4f979acb8b3584de392bf28786fd8a5e76
Added Mac OS X assembler style conditional assembly.  I may come back and see if
I can clean this up a bit more and do way with the TheCondState and just use
the top element on the TheCondStack if not empty.  Also may tweak the code
around ParseConditionalAssemblyDirectives() to simplify the AsmParser code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78423 91177308-0d34-0410-b5e6-96231b3b80d8
test/MC/AsmParser/conditional_asm.s [new file with mode: 0644]
tools/llvm-mc/AsmCond.h [new file with mode: 0644]
tools/llvm-mc/AsmParser.cpp
tools/llvm-mc/AsmParser.h