mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
gallivm: handle pointer types in lp_dump_llvmtype()
This commit is contained in:
parent
d574ffbb4d
commit
9226d427c3
1 changed files with 5 additions and 0 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue