<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:large">Hello, </div><div class="gmail_default" style="font-family:georgia,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large">1. Can anyone share a bit experience of using DIBuilder class to add debug information to a certain language ?</div><div class="gmail_default" style="font-family:georgia,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:georgia,serif;font-size:large">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: </div><div class="gmail_default" style="font-family:georgia,serif;font-size:large"><pre class="" style="font-family:Fixed,monospace;font-size:13px;border:1px solid rgb(204,204,204);margin:4px 8px 4px 2px;padding:4px 6px;color:rgb(0,0,0);background-color:rgb(245,245,245)"> <a class="" href="http://llvm.org/docs/doxygen/html/classllvm_1_1DICompositeType.html" title="Types that refer to multiple other types." style="color:rgb(0,0,255);text-decoration:none">DICompositeType</a> <a class="" href="http://llvm.org/docs/doxygen/html/classllvm_1_1DIBuilder.html#a06b1c961b2ad918925e36e95415845b1" style="color:rgb(0,0,255);text-decoration:none">DIBuilder::createArrayType</a>(uint64_t Size, uint64_t AlignInBits, <a class="" href="http://llvm.org/docs/doxygen/html/classllvm_1_1DIType.html" style="color:rgb(0,0,255);text-decoration:none">DIType</a> Ty, <a class="" href="http://llvm.org/docs/doxygen/html/classllvm_1_1DITypedArray.html" title="This descriptor holds an array of nodes with type T." style="color:rgb(0,0,255);text-decoration:none">DIArray</a> Subscripts) </pre></div><div><br></div><div><div class="gmail_default" style="font-family:georgia,serif;font-size:large">​I don't find any explanation on that and I'm trying to add debug info for an array type....</div><div class="gmail_default" style="font-family:georgia,serif;font-size:large">thanks !​</div><br></div>-- <br><div class="gmail_signature">Best regards<br><br><br>Hui Zhang<br></div>
</div>