[lldb-dev] patch to access and retain the original name/type of an SBType
Carlo Kok
ck at remobjects.com
Mon Oct 29 13:12:33 PDT 2012
Op 29-10-2012 20:54, Greg Clayton schreef:
> I would rather this not make it into the API if we can avoid it.
>
> Why do you need this? Can you give some justification?
>
my language has it's own type system. There are lots of types in it, and
none of them match the c/c++ names. However when calling GetName() all
that info is lost and i get back something like "unsigned short" or
"char*". On the calling side I have no way to turn that back into their
real types, I need this info to know if something is a (string)
character or if it's a 16bits integer, or for pointer types, if they
should be treated specials (some pointer to type-types are arrays while
others are not). C has no such distinction.
More information about the lldb-dev
mailing list