Gautam Chakrabarti via llvm-dev
2020-Jan-07 23:14 UTC
[llvm-dev] Any reason DISubrange metadata does not allow a variable lowerBound?
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. ----------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200107/0ecc5724/attachment.html>