OSDN Git Service

AsmParser: Fix nested .irp/.irpc
authorNikolay Haustov <Nikolay.Haustov@amd.com>
Tue, 1 Mar 2016 08:18:28 +0000 (08:18 +0000)
committerNikolay Haustov <Nikolay.Haustov@amd.com>
Tue, 1 Mar 2016 08:18:28 +0000 (08:18 +0000)
commitf97e9525581abd37dfadfc1d6d350fb9dc5844fb
tree056c1f39a4c999755fe06c55f4ce66242b873312
parent2cf7ebb7776ec8b0e3651e5e41709049a6d0c47b
AsmParser: Fix nested .irp/.irpc

Count .irp/.irpc in parseMacroLikeBody similar to .rept
Update tests.

Review: http://reviews.llvm.org/D17707

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262313 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/macro-irp.s
test/MC/AsmParser/macro-irpc.s