[LLVMdev] source code information
    Eli Bendersky 
    eliben at google.com
       
    Thu Dec  6 09:08:47 PST 2012
    
    
  
>
> 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
    
    
More information about the llvm-dev
mailing list