From: Tim Rowley Date: Thu, 7 Sep 2017 20:18:08 +0000 (-0500) Subject: swr/rast: add graph write to jit debug putput X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b9e801832c2691b311ab2429fda1f9ec774f021;p=mesa.git swr/rast: add graph write to jit debug putput Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp index fc32b627bd1..e4281f8e920 100644 --- a/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp +++ b/src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp @@ -296,10 +296,10 @@ void JitManager::DumpToFile(Function *f, const char *fileName) #endif fd.flush(); - //raw_fd_ostream fd_cfg(fName, EC, llvm::sys::fs::F_Text); - //WriteGraph(fd_cfg, (const Function*)f); + raw_fd_ostream fd_cfg(fName, EC, llvm::sys::fs::F_Text); + WriteGraph(fd_cfg, (const Function*)f); - //fd_cfg.flush(); + fd_cfg.flush(); } }