Thanks, I thought about clang but I need to work with Fortran programs too. Hence using dragonegg.<div><br></div><div>Ashay</div><div><br><br><div class="gmail_quote">On Wed, Feb 29, 2012 at 4:08 PM, Xi Wang <span dir="ltr"><<a href="mailto:xi.wang@gmail.com">xi.wang@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Feb 29, 2012, at 2:59 PM, Ashay Rane wrote:<br>
> I have been facing a few problems getting names of variables from the bitcode. The bitcode does contain debug metadata. The first problem is regarding `memtmp' variables (apparently, the original variable name is no longer present in the bitcode). The other two problems concern OpenMP. In one case, the instruction is not named and hence establishing a connection to the debug metadata does not seem possible. In the other case, I am noticing some extra fields present in the `omp_data_s' structure (these fields are not present in the source code) and hence the `alloca' does not match the metadata definition.<br>

<br>
</div>You may try clang.  It generates the debugging information you want.<br>
<span class="HOEnZb"><font color="#888888"><br>
- xi<br>
<br>
</font></span></blockquote></div><br></div>