[llvm-dev] Any reason DISubrange metadata does not allow a variable lowerBound?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[llvm-dev] Any reason DISubrange metadata does not allow a variable lowerBound?

Johannes Doerfert via llvm-dev

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

 


This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.


_______________________________________________
LLVM Developers mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev