[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-coverage
Subject:    Re: [Ltp-coverage] [LTP coverage] : LCOV is not working for the
From:       karthik reddy <akkatta () codeaurora ! org>
Date:       2011-11-17 12:01:45
Message-ID: 32861456.post () talk ! nabble ! com
[Download RAW message or body]


Peter,

Your patch did work well. We are now able to use LCOV.

Thank you for the help in enabling both GCOV & LCOV.

Best Regards,
Karthik.



Peter Oberparleiter-4 wrote:
> 
> On 16.11.2011 14:36, karthik reddy wrote:
> > Please see the attached logs.
> > Let me know, if you find any clue.
> > 
> > Regards,
> > Karthik. http://old.nabble.com/file/p32854778/debug_file debug_file
> 
> Unfortunately the debug log confirms that your toolchain also generates 
> .gcno files which are different from what vanilla gcc produces.
> 
> In particular the function data record appears to contain an additional 
> word of data which lcov does not expect.
> 
> I currently don't have time to consider adding support for this 
> toolchain to the LCOV tool. If you're into experimenting, you could try 
> the following change to see if this already provides the needed change:
> 
> This is for lcov-1.9: In file geninfo, function 
> read_gcno_function_record, line 2905, change the following:
> 
> # Skip ident and checksum
> graph_skip($handle, 8, "function ident and checksum") or return 
> undef;
> 
> to
> 
> # Skip ident and checksum
> graph_skip($handle, 12, "function ident and checksum") or 
> return undef;
> 
> This instructs the geninfo tool to skip the extra 4 bytes in a function 
> record. Note that this is guesswork, so no guarantee that this will work.
> 
> 
> Regards,
> Peter
> 
> 
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Ltp-coverage mailing list
> Ltp-coverage@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-coverage
> 
> 

-- 
View this message in context: \
http://old.nabble.com/-LTP-coverage--%3A-LCOV-is-not-working-for-the-files-generated-by-arm-eabi-gcov-tp32839619p32861456.html
 Sent from the ltp-coverage mailing list archive at Nabble.com.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Ltp-coverage mailing list
Ltp-coverage@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-coverage


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic