Hi,
Currently XDCtools define:
struct xdc_runtime_IInstance_Params { size_t __size; xdc_String name; };
However, there is no reason for the module name to be mutable string. There is no place where the name buffer is accessed and modified. So it shall be changed to xdc_CString, otherwise an error is generated when the module name is initialized with const string.
P.S. I wanted to patch it myself and try it out, however, I don't fully understand how I can rebuild the XDCtools package.
Best,
Vasili