diff options
author | Oded Gabbay <[email protected]> | 2016-02-18 15:53:23 +0200 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2016-02-19 00:18:11 +0200 |
commit | b3d42934a1cc4ac47367ea632e7467c2ada46aff (patch) | |
tree | 1732de3aa45ff6eda47285da47c2628a3d0ee311 /src/compiler/glsl/ir_constant_expression.cpp | |
parent | 93c62fdee93062890c193b515f522375949dedc9 (diff) |
gallivm: use sstream for dissasembling
Currently, disassemble() directly prints to stdout. This has broke the
profiling support for llvmpipe JIT code.
This patch redirects the output to an sstream object, which is then
either gets printed to stdout (for assembly debugging) or gets written
to a file in /tmp/ (for profiling support).
Signed-off-by: Oded Gabbay <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_constant_expression.cpp')
0 files changed, 0 insertions, 0 deletions