llvm-6502/test/MC/AsmParser/macro-irp.s
Rafael Espindola aa7a2f2ba3 Factor macro argument parsing into helper methods and add support for .irp.
Patch extracted from a larger one by the PaX team. I added the testcases
and tightened error handling a bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158523 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-15 14:02:34 +00:00

9 lines
153 B
ArmAsm

// RUN: llvm-mc -triple x86_64-unknown-unknown %s | FileCheck %s
.irp reg,%eax,%ebx
pushl \reg
.endr
// CHECK: pushl %eax
// CHECK: pushl %ebx