mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
swr/rast: add graph write to jit debug putput
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
6f0fcec07a
commit
6b9e801832
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue