Add support for macro parameters/arguments delimited by spaces,
authorPreston Gurd <preston.gurd@intel.com>
Wed, 19 Sep 2012 20:36:12 +0000 (20:36 +0000)
committerPreston Gurd <preston.gurd@intel.com>
Wed, 19 Sep 2012 20:36:12 +0000 (20:36 +0000)
commit7b6f2034ac355bd3b3cc88960bf8d0e694fe3db4
tree1fbf98d382ccd9fe5d7e82c169df126848015ffc
parent4caf5281bf9cbdbc13758a6f2b965b0e9ef233d3
Add support for macro parameters/arguments delimited by spaces,
to improve compatibility with GNU as.

Based on a patch by PaX Team.

Fixed assertion failures on non-Darwin and added additional test cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164248 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCParser/MCAsmLexer.h
lib/MC/MCParser/AsmLexer.cpp
lib/MC/MCParser/AsmParser.cpp
lib/MC/MCParser/MCAsmLexer.cpp
test/MC/AsmParser/macros-darwin.s [new file with mode: 0644]
test/MC/AsmParser/macros.s