Displaying 1 result from an estimated 1 matches for "getreturntypenam".
Did you mean:
getreturntypename
2013 Nov 08
0
[LLVMdev] get source-level function signature?
...function signature by using metadata and
debug info descriptors, but it seems that the return type is only
available if it's a primitive type. For example, for the following code:
int *foo(struct ST *s) {
return &s[1].Z.B[5][13];
}
I get empty string as the return type when I use the getReturnTypeName()
function of DISubprogram. However, if I change the return type to "int"
and the corresponding code, I get the "int" type.
I took a look at the implementation of the function, which is the following:
/// getReturnTypeName - Subprogram return types are encoded either a...