From d6b50ba980b733a82fefe2a0f115635a359c445f Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Thu, 23 Jul 2015 16:54:02 +0100 Subject: [PATCH] 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 0a5c2ccdae3..7283e2f162f 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); } -- 2.30.2