diff options
author | Silviu Baranga <silviu.baranga@arm.com> | 2012-04-18 14:09:07 +0000 |
---|---|---|
committer | Silviu Baranga <silviu.baranga@arm.com> | 2012-04-18 14:09:07 +0000 |
commit | 6b9f97dd892b0d61d8a1f0ee4f837058f2ca4552 (patch) | |
tree | 1c5eca66c338066cb7d977fa9331a6316a25f181 /test | |
parent | fa1ebc6abe95b79b7f82030eea53586a8704eb7e (diff) | |
download | external_llvm-6b9f97dd892b0d61d8a1f0ee4f837058f2ca4552.zip external_llvm-6b9f97dd892b0d61d8a1f0ee4f837058f2ca4552.tar.gz external_llvm-6b9f97dd892b0d61d8a1f0ee4f837058f2ca4552.tar.bz2 |
Fix the bahavior of the disassembler when decoding unpredictable mrs instructions on ARM. Now the diasassembler emmits warnings instead of errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/Disassembler/ARM/unpredictable-MRS-arm.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/Disassembler/ARM/unpredictable-MRS-arm.txt b/test/MC/Disassembler/ARM/unpredictable-MRS-arm.txt new file mode 100644 index 0000000..3e472cd --- /dev/null +++ b/test/MC/Disassembler/ARM/unpredictable-MRS-arm.txt @@ -0,0 +1,18 @@ +# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& FileCheck %s + +# CHECK: warning: potentially undefined +# CHECK: 0x00 0xf0 0x0f 0x01 +0x00 0xf0 0x0f 0x01 + +# CHECK: warning: potentially undefined +# CHECK: 0x00 0xf0 0x4f 0x01 +0x00 0xf0 0x4f 0x01 + +# CHECK: warning: potentially undefined +# CHECK: 0x0f 0x0d 0x01 0x01 +0x0f 0x0d 0x01 0x01 + +# CHECK: warning: potentially undefined +# CHECK: 0x0f 0x0d 0x40 0x01 +0x0f 0x0d 0x40 0x01 + |