diff options
author | Sean Callanan <scallanan@apple.com> | 2011-02-22 02:19:18 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-02-22 02:19:18 +0000 |
commit | ec243ae2b859487bd417a1289da2a4a5901c3469 (patch) | |
tree | 198ea117807e2027113118386566ed18ef8ebec6 /test/MC | |
parent | b21e49c8fe241965716511013e0aed35970ecdb1 (diff) | |
download | external_llvm-ec243ae2b859487bd417a1289da2a4a5901c3469.zip external_llvm-ec243ae2b859487bd417a1289da2a4a5901c3469.tar.gz external_llvm-ec243ae2b859487bd417a1289da2a4a5901c3469.tar.bz2 |
Added a testcase for the enhanced disassembly bug
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
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Disassembler/X86/enhanced.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/Disassembler/X86/enhanced.txt b/test/MC/Disassembler/X86/enhanced.txt new file mode 100644 index 0000000..691f876 --- /dev/null +++ b/test/MC/Disassembler/X86/enhanced.txt @@ -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 |