summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2014-10-31 23:09:02 +0000
committerJosé Fonseca <[email protected]>2014-11-03 14:47:00 +0000
commitb7e447d323872415ae21e2411b366770fb3687c1 (patch)
tree0827eb6622325670d9d30d8075be2b69db43bf25 /src/gallium/auxiliary
parent5695303563b76f625439b495fe41428256aba39e (diff)
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]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_debug.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}