Module: Mesa Branch: master Commit: b7e447d323872415ae21e2411b366770fb3687c1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7e447d323872415ae21e2411b366770fb3687c1
Author: José Fonseca <[email protected]> Date: Fri Oct 31 23:09:02 2014 +0000 gallivm: When disassemble a function, start by printing out its name. To help recognize what's supposed to do. Reviewed-by: Roland Scheidegger <[email protected]> --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index bad65c2..4f9546a 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -410,6 +410,7 @@ disassemble(const void* func, llvm::raw_ostream & Out) extern "C" void lp_disassemble(LLVMValueRef func, const void *code) { raw_debug_ostream Out; + Out << LLVMGetValueName(func) << ":\n"; disassemble(code, Out); } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
