[LLVMdev] BasicCallGraph patch

Chris Lattner sabre at nondot.org
Tue Jul 17 09:08:50 PDT 2007


On Tue, 17 Jul 2007, Zhongxing Xu wrote:
>>  you are doing, using the LLVM IR can be tricky for this sort of stuff
>>  because it can get too far from the source level.
> Yes, it is really a problem. Now I am using my eyes to map the LLVM IR back
> to the source code. But it's tedious and error prone. Is there any better
> way to do this? I guess carrying debug information in LLVM IR might help.
> But I don't know how to use the debug information.

Debug information is one way to do it.  Another way to do it is to use 
source-level analysis techniquese.  When the new C front-end is farther 
along, it is our goal to support this.  Unfortunately, it is still too 
early.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list