gcov needs to be updated to handle new version 404 gcov files

Originator:dmaclach
Number:rdar://9841714 Date Originated:2011/07/26
Status:OPEN Resolved:
Product:Xcode Product Version:ios 5 beta 4
Classification:other bug Reproducible:always
 
Summary:
If you set up LLVM to output gcov information the gcda files that it outputs by default are version 404.

gcov will give you a warning when you run it over these files because it expects version 402.


dhcp-172-31-3-238:source dmaclach$ gcov -o /Users/dmaclach/Desktop/CoverTest/DerivedData/CoverTest/Build/Intermediates/CoverTest.build/Debug-iphonesimulator/CoverTest.build/Objects-normal/i386 /Users/dmaclach/Desktop/CoverTest/DerivedData/CoverTest/Build/Intermediates/CoverTest.build/Debug-iphonesimulator/CoverTest.build/Objects-normal/i386/CoverTestAppDelegate.gcda 
/Users/dmaclach/Desktop/CoverTest/DerivedData/CoverTest/Build/Intermediates/CoverTest.build/Debug-iphonesimulator/CoverTest.build/Objects-normal/i386/CoverTestAppDelegate.gcno:version '204*', prefer '402*'
/Users/dmaclach/Desktop/CoverTest/DerivedData/CoverTest/Build/Intermediates/CoverTest.build/Debug-iphonesimulator/CoverTest.build/Objects-normal/i386/CoverTestAppDelegate.gcda:version '404*', prefer version '402*'
File '/Users/dmaclach/Desktop/CoverTest/Classes/CoverTestAppDelegate.m'
Lines executed:56.00% of 25
/Users/dmaclach/Desktop/CoverTest/Classes/CoverTestAppDelegate.m:creating 'CoverTestAppDelegate.m.gcov'

The warning about version 204 vs 402 is covered here:

http://llvm.org/bugs/show_bug.cgi?id=10502

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!