Hi,
The DISubrange metadata node’s “lowerBound” needs to be a signed integer, and cannot be a variable. Is there a particular reason the support for it being a variable was not added? DWARF does allow it to be variable.
On the other hand, the “count” field of DISubrange is allowed to be a local or a global variable.
Thanks,
Gautam