Added a testcase for the enhanced disassembly bug
authorSean Callanan <scallanan@apple.com>
Tue, 22 Feb 2011 02:19:18 +0000 (02:19 +0000)
committerSean Callanan <scallanan@apple.com>
Tue, 22 Feb 2011 02:19:18 +0000 (02:19 +0000)
fixed in r126147, where a field in the X86 decode
structure was being read as bits, not bytes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126182 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/Disassembler/X86/enhanced.txt [new file with mode: 0644]

diff --git a/test/MC/Disassembler/X86/enhanced.txt b/test/MC/Disassembler/X86/enhanced.txt
new file mode 100644 (file)
index 0000000..691f876
--- /dev/null
@@ -0,0 +1,4 @@
+# RUN: llvm-mc --edis %s -triple=x86_64-apple-darwin9 |& FileCheck %s
+
+# CHECK: [o:jne][w:    ][0-p:-][0-l:10=10] <br> 0:[RIP/111](pc)=18446744073709551606
+0x0f 0x85 0xf6 0xff 0xff 0xff