From 6b9e801832c2691b311ab2429fda1f9ec774f021 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Thu, 7 Sep 2017 15:18:08 -0500 Subject: [PATCH] swr/rast: add graph write to jit debug putput Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); } } -- 2.30.2