diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-06-16 18:03:25 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-06-16 18:03:25 +0000 |
commit | fc9216eb5a437719b3a53d88d79833a8abc93fee (patch) | |
tree | af19c4f8f1c8b9353766c079f52546e7873efe68 /test/MC | |
parent | 19e5015e5fbacbe1026e2d76d571b591003b4fea (diff) | |
download | external_llvm-fc9216eb5a437719b3a53d88d79833a8abc93fee.zip external_llvm-fc9216eb5a437719b3a53d88d79833a8abc93fee.tar.gz external_llvm-fc9216eb5a437719b3a53d88d79833a8abc93fee.tar.bz2 |
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
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/AsmParser/macro-irpc.s | 9 |
1 files changed, 9 insertions, 0 deletions
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 |