<br><font size=2 face="sans-serif">Hello LLVM-Developers,</font><br><br><font size=2 face="sans-serif">I'd like to write a program slicer that
operates on LLVM-CFGs. The result, however,  should be displayed to
code reviewers in a CFG that is close to the C source code. The Graphviz
output of clang::CFG is already pretty close to what I intend to do.</font><br><br><font size=2 face="sans-serif">Obviously, debug-info helps me to determine
the origin of LLVM-instructions within the source code.</font><br><font size=2 face="sans-serif">So I am wondering now, if there is an
(more) elegant way to correlate unoptimized LLVM-basic blocks (and the
instructions contained by them) with the nodes of clang::CFGs (and the
statements contained by those). Initially it would be ok to run the slicer
on unoptimized code because I suspect optimization to complicate the correlation.</font><br><br><font size=2 face="sans-serif">Thanks in advance for your support.</font><br><br><font size=2 face="sans-serif">Kind regards,</font><br><font size=2 face="sans-serif">Philipp Legrum</font><font face="sans-serif"><font face="sans-serif, Arial, Helvetica" size="-1" color="#808080"><br>If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
<br></br> 
                                                                          
</font></font>