llvm-6502/lib/Target/X86/Disassembler
Kevin Enderby 16b7dd64e9 Fix a bug in the x86 disassembler's symbolic disassembly support for Jcc-Jump
if Condition Is Met instuctions that was not correctly determining the target
instruction.

So for a jne rel32 instruction:

% cat x.s
.byte 0x0f, 0x85, 0x09, 0x00, 0x00, 0x00
% as x.s

it was incorrectly deterining the target:

% otool -q -tv a.out 
a.out:
(__TEXT,__text) section
0000000000000000	jne	0xd

and with the fix it gets this correct as:

% otool -q -tv a.out
a.out:
(__TEXT,__text) section
0000000000000000	jne	0xf

rdar://11505997


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160694 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-24 21:40:01 +00:00
..
CMakeLists.txt
LLVMBuild.txt
Makefile
X86Disassembler.cpp Fix a bug in the x86 disassembler's symbolic disassembly support for Jcc-Jump 2012-07-24 21:40:01 +00:00
X86Disassembler.h
X86DisassemblerDecoder.c Add support for AVX enhanced comparison predicates. Patch from Kay Tiong Khoo. 2012-04-03 05:20:24 +00:00
X86DisassemblerDecoder.h X86: add GATHER intrinsics (AVX2) in LLVM 2012-06-26 19:47:59 +00:00
X86DisassemblerDecoderCommon.h Add support for AVX enhanced comparison predicates. Patch from Kay Tiong Khoo. 2012-04-03 05:20:24 +00:00