gallivm: Use the LLVM's C disassembly interface.
authorJose Fonseca <jfonseca@vmware.com>
Thu, 28 May 2015 15:55:10 +0000 (16:55 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Fri, 29 May 2015 10:20:58 +0000 (11:20 +0100)
commit0db4ef9df152da1d0f3601bbccc68ac1c94d4a3b
tree2542284d67315d7c68f4dd9c865aac25e3116d9f
parent29203e77388f11e36db3190834809c3196ee47b5
gallivm: Use the LLVM's C disassembly interface.

It doesn't do everything we want.  In particular it doesn't allow to
detect jumps or return opcodes.  Currently we detect the x86's RET
opcode.

Even though it's worse for LLVM 3.3, it's an improvement for LLVM 3.7,
which was totally busted.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
scons/llvm.py
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp