Hi Devang,<br><br>Thanks for the answer, I eventually found that in  DW_TAG_compile_unit metadata, if field for 'main' compile unit is set to false then no debug info is generated. Can someone explain what is the meaning of this field ?<br>
<br>You wrote:<br><br>"Right now there is no such check. In fact, 'llc' is trained to silently ignore malformed debug information, because 'opt' is not held reliable to maintain debug info. That said, it would be valuable to write such verification pass."<br>
<br>Does this means that after opt metadata are not reliable at all ?<br><br>Best Regards<br>Seb<br><br>