Mesa (master): gallivm: Fix profile build.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Jul 23 15:54:16 UTC 2015


Module: Mesa
Branch: master
Commit: d6b50ba980b733a82fefe2a0f115635a359c445f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d6b50ba980b733a82fefe2a0f115635a359c445f

Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Thu Jul 23 16:54:02 2015 +0100

gallivm: Fix profile build.

---

 src/gallium/auxiliary/gallivm/lp_bld_debug.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 0a5c2cc..7283e2f 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -274,7 +274,7 @@ lp_profile(LLVMValueRef func, const void *code)
       unsigned long addr = (uintptr_t)code;
       llvm::raw_fd_ostream Out(perf_asm_fd, false);
       Out << symbol << ":\n";
-      unsigned long size = disassemble(code, Out);
+      unsigned long size = disassemble(code);
       fprintf(perf_map_file, "%lx %lx %s\n", addr, size, symbol);
       fflush(perf_map_file);
    }




More information about the mesa-commit mailing list