llvmpipe: code to dump bytecode to file (disabled)
This commit is contained in:
parent
62450b3c49
commit
3d7479d705
|
@ -99,6 +99,7 @@
|
|||
|
||||
|
||||
#include <llvm-c/Analysis.h>
|
||||
#include <llvm-c/BitWriter.h>
|
||||
|
||||
|
||||
static unsigned fs_no = 0;
|
||||
|
@ -778,6 +779,11 @@ generate_fragment(struct llvmpipe_context *lp,
|
|||
debug_printf("\n");
|
||||
}
|
||||
|
||||
/* Dump byte code to a file */
|
||||
if (0) {
|
||||
LLVMWriteBitcodeToFile(lp_build_module, "llvmpipe.bc");
|
||||
}
|
||||
|
||||
/*
|
||||
* Translate the LLVM IR into machine code.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue