From fc9216eb5a437719b3a53d88d79833a8abc93fee Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sat, 16 Jun 2012 18:03:25 +0000 Subject: Implement irpc. Extracted from a patch by the PaX team. I just added the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158604 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/AsmParser/macro-irpc.s | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/MC/AsmParser/macro-irpc.s (limited to 'test/MC') diff --git a/test/MC/AsmParser/macro-irpc.s b/test/MC/AsmParser/macro-irpc.s new file mode 100644 index 0000000..ea5efbf --- /dev/null +++ b/test/MC/AsmParser/macro-irpc.s @@ -0,0 +1,9 @@ +// RUN: llvm-mc -triple x86_64-unknown-unknown %s | FileCheck %s + +.irpc foo,123 + .long \foo +.endr + +// CHECK: long 1 +// CHECK: long 2 +// CHECK: long 3 -- cgit v1.1