[llvm-commits] [llvm] r127381 - in /llvm/trunk: include/llvm/DebugInfoProbe.h lib/Analysis/LoopPass.cpp lib/VMCore/DebugInfoProbe.cpp lib/VMCore/PassManager.cpp

Devang Patel dpatel at apple.com
Mon May 23 09:59:29 PDT 2011


On May 21, 2011, at 9:09 PM, Chris Lattner wrote:

> On Mar 9, 2011, at 4:21 PM, Devang Patel wrote:
> 
>> Author: dpatel
>> Date: Wed Mar  9 18:21:25 2011
>> New Revision: 127381
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=127381&view=rev
>> Log:
>> Introduce DebugInfoProbe. This is used to monitor how llvm optimizer is treating debugging information. 
>> It generates output that lools like
>> 
>> 8 times line number info lost by Scalar Replacement of Aggregates (SSAUp) 
>> 1 times line number info lost by Simplify well-known library calls 
>> 12 times variable info lost by Jump Threading
> 
> Hi Devang,
> 
> This looks like very interesting functionality, but it is really unfortunate that it has to be so intricately intertwined into the core PassManager.  We don't do this for any other functionality, why should this be different?

Pass manager is involved because we need a way to collect data after every pass.

BTW, We do this for pass timer also.
-
Devang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110523/93105de8/attachment.html>


More information about the llvm-commits mailing list