[LLVMdev] question about dibuilder

Hui Zhang wayne.huizhang at gmail.com
Sun Nov 23 11:20:14 PST 2014


Hello,

1. Can anyone share a bit experience of using DIBuilder class to add debug
information to a certain language ?

2. Specifically, what does the "Subscripts" mean in the attributes of the
function and what I need to supply for that in order to use this function:

 DICompositeType
<http://llvm.org/docs/doxygen/html/classllvm_1_1DICompositeType.html>
DIBuilder::createArrayType
<http://llvm.org/docs/doxygen/html/classllvm_1_1DIBuilder.html#a06b1c961b2ad918925e36e95415845b1>(uint64_t
Size, uint64_t AlignInBits, DIType
<http://llvm.org/docs/doxygen/html/classllvm_1_1DIType.html> Ty,
DIArray <http://llvm.org/docs/doxygen/html/classllvm_1_1DITypedArray.html>
Subscripts)


​I don't find any explanation on that and I'm trying to add debug info for
an array type....
thanks !​

-- 
Best regards


Hui Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141123/7bd3c572/attachment.html>


More information about the llvm-dev mailing list