gallivm: When disassemble a function, start by printing out its name.
To help recognize what's supposed to do. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user