gallivm: Use the LLVM's C disassembly interface

Graphics / Mesa 3D Graphics Library / Mesa - Jose Fonseca [vmware.com] - 29 May 2015 05:20 UTC

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.

0db4ef9 gallivm: Use the LLVM's C disassembly interface.
scons/llvm.py | 4 +-
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 260 ++++--------------------
2 files changed, 40 insertions(+), 224 deletions(-)

Upstream: cgit.freedesktop.org


  • Share