projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d574ffb
)
gallivm: handle pointer types in lp_dump_llvmtype()
author
Brian Paul
<brianp@vmware.com>
Wed, 19 May 2010 18:46:20 +0000
(12:46 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 20 May 2010 16:27:11 +0000
(10:27 -0600)
src/gallium/auxiliary/gallivm/lp_bld_type.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_type.c
b/src/gallium/auxiliary/gallivm/lp_bld_type.c
index
e6cd400
..
aac3a57
100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_type.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_type.c
@@
-354,6
+354,11
@@
lp_dump_llvmtype(LLVMTypeRef t)
unsigned b = LLVMGetIntTypeWidth(t);
debug_printf("%u-bit Integer\n", b);
}
+ else if (k == LLVMPointerTypeKind) {
+ LLVMTypeRef te = LLVMGetElementType(t);
+ debug_printf("Pointer to ");
+ lp_dump_llvmtype(te);
+ }
else {
debug_printf("%s\n", lp_typekind_name(k));
}