diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-09-09 19:21:22 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-09-09 21:48:49 +0100 |
commit | 01c831576eb77ec87bff667ed5591a93cbbef97d (patch) | |
tree | 295cb825c9c67e2f7f0196cf68291fa9f34d5297 /src/gallium/drivers/llvmpipe/lp_bld_debug.h | |
parent | 5604b27b9326ac542069a49ed9650c4b0d3e939a (diff) |
llvmpipe: Debug function to check stack alignment.
Doing alignment check in locus is redundant, as gcc alignment assumptions
will optimize away the check.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_debug.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_debug.h b/src/gallium/drivers/llvmpipe/lp_bld_debug.h index ecdafef76d..583e6132b4 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_debug.h +++ b/src/gallium/drivers/llvmpipe/lp_bld_debug.h @@ -53,6 +53,10 @@ lp_build_name(LLVMValueRef val, const char *format, ...) } +boolean +lp_check_alignment(const void *ptr, unsigned alignment); + + void lp_disassemble(const void* func); |