Test case for r204305.
authorCraig Topper <craig.topper@gmail.com>
Thu, 20 Mar 2014 06:45:10 +0000 (06:45 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 20 Mar 2014 06:45:10 +0000 (06:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204316 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/Disassembler/X86/missing-sib.txt [new file with mode: 0644]

diff --git a/test/MC/Disassembler/X86/missing-sib.txt b/test/MC/Disassembler/X86/missing-sib.txt
new file mode 100644 (file)
index 0000000..814f684
--- /dev/null
@@ -0,0 +1,4 @@
+# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 2>&1 | grep "invalid instruction encoding"
+
+# This instruction would decode as jmp32m if it didn't run out of bytes
+0xff 0x24