projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5695303
)
gallivm: When disassemble a function, start by printing out its name.
author
José Fonseca
<jfonseca@vmware.com>
Fri, 31 Oct 2014 23:09:02 +0000
(23:09 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 3 Nov 2014 14:47:00 +0000
(14:47 +0000)
To help recognize what's supposed to do.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index bad65c2c0ed38018782c4d40085a1b528e4ed30a..4f9546a1f5d42bb551c74ff355ebb2cd8c3b55f0 100644
(file)
--- 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);
}