diff options
author | Roland Scheidegger <sroland@vmware.com> | 2016-05-11 04:42:51 +0200 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2016-05-11 04:43:35 +0200 |
commit | 430797843a4e9b3bc69562c4ef18dd2ddda39990 (patch) | |
tree | 58f50a085532a09a36a07b449542d66cf366e12f /src/gallium/auxiliary/gallivm/lp_bld_debug.h | |
parent | 8d639138c712c5bbe0b9ea8adbc810b23a2e8d1b (diff) | |
download | external_mesa3d-430797843a4e9b3bc69562c4ef18dd2ddda39990.zip external_mesa3d-430797843a4e9b3bc69562c4ef18dd2ddda39990.tar.gz external_mesa3d-430797843a4e9b3bc69562c4ef18dd2ddda39990.tar.bz2 |
gallivm: improve dumping of bitcode
Use GALLIVM_DEBUG=dumpbc for dumping of modules as bitcode.
Instead of a fixed llvmpipe.bc name, use ir_<modulename>.bc so multiple
modules can be dumped (albeit it might still overwrite previous modules,
particularly the modules from draw tend to always have the same name).
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_debug.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_debug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.h b/src/gallium/auxiliary/gallivm/lp_bld_debug.h index efb7495..f96a1af 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.h @@ -45,6 +45,7 @@ #define GALLIVM_DEBUG_NO_RHO_APPROX (1 << 6) #define GALLIVM_DEBUG_NO_QUAD_LOD (1 << 7) #define GALLIVM_DEBUG_GC (1 << 8) +#define GALLIVM_DEBUG_DUMP_BC (1 << 9) #ifdef __cplusplus |