AsmParser: Parse (and ignore) nested .macro definitions.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 9 Feb 2014 16:22:00 +0000 (16:22 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 9 Feb 2014 16:22:00 +0000 (16:22 +0000)
commit9d94a4eee9d30487c5d6b1478a7195523f6db1ca
tree648cf3a9819202a00eb8edcd04c42b9626c06840
parent15b26696afe37e40adad3a9806ee11886b3ea349
AsmParser: Parse (and ignore) nested .macro definitions.

This enables a slightly odd feature of gas. The macro is defined when
the outermost macro is instantiated.

PR18599

llvm-svn: 201045
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/test/MC/AsmParser/macro-def-in-instantiation.s