<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">I'm using an existing pass called ModuleDegbugInfoPrinter,  run it with "-analyze -module-debuginfo"  It should print out all the debug information of a module. </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">For the CompileUnit  part, what is exactly a "compile unit" ? A module? a file ? or what ?  </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">In my case, it only prints out one module, which indicates a runtime library source file,  and among all the subPrograms it printed out, there is no one coming from user code. So I think either the Compile units are missing or the debug information for user functions are missing.  Any clue on why this happened ? (I used -g option when I got the .bc code)</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">thanks!</div><div><br></div>-- <br>Best regards<br><br><br>Hui Zhang<br>
</div>