source code information

Hi,

I had asked about LLVM debug information a while back, but was told that it is not well-maintained. Is there any way I can IR functions and loops with their source code positions?

Thanks
-Apala

I had asked about LLVM debug information a while back, but was told that it
is not well-maintained. Is there any way I can IR functions and loops with
their source code positions?

You can associate IR instructions and functions with their source
positions if you direct Clang to emit debugging information. More
details here: http://llvm.org/docs/SourceLevelDebugging.html

Eli