From b7e447d323872415ae21e2411b366770fb3687c1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 31 Oct 2014 23:09:02 +0000 Subject: [PATCH] gallivm: When disassemble a function, start by printing out its name. To help recognize what's supposed to do. Reviewed-by: Roland Scheidegger --- 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 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); } -- 2.30.2