From: Jose Fonseca Date: Thu, 23 Jul 2015 15:54:02 +0000 (+0100) Subject: gallivm: Fix profile build. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6b50ba980b733a82fefe2a0f115635a359c445f;p=mesa.git gallivm: Fix profile build. --- 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); }