From: José Fonseca Date: Fri, 31 Oct 2014 23:09:02 +0000 (+0000) Subject: gallivm: When disassemble a function, start by printing out its name. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7e447d323872415ae21e2411b366770fb3687c1;p=mesa.git gallivm: When disassemble a function, start by printing out its name. To help recognize what's supposed to do. Reviewed-by: Roland Scheidegger --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index bad65c2c0ed..4f9546a1f5d 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); }