From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13841 invoked by alias); 24 Mar 2011 12:53:48 -0000 Received: (qmail 13833 invoked by uid 22791); 24 Mar 2011 12:53:48 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from oarmail.oarcorp.com (HELO OARmail.OARCORP.com) (67.63.146.244) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Mar 2011 12:53:43 +0000 Received: from iceland.oarcorp.com (192.168.1.240) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.1.436.0; Thu, 24 Mar 2011 07:53:42 -0500 Message-ID: <4D8B3ED6.4030401@oarcorp.com> Date: Thu, 24 Mar 2011 12:59:00 -0000 From: Joel Sherrill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 MIME-Version: 1.0 To: "gcc@gcc.gnu.org" Subject: gcno file question Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg00374.txt.bz2 Hi, RTEMS has been using simulators and some programs we wrote for coverage analysis for a while now. I am looking into writing a converter which takes coverage data from simulators and produces .gcno files. The coverage data is often just a bitmap of which addresses were executed. There is no frequency, just yes/no. We can already map that information back to file/line. + Is this enough to produce a .gcno file from? + What records need to be generated as a minimum? As a technical sanity question, the RTEMS code is in a library and we are merging coverage data from multiple executables to get unified coverage data. We abstract away physical address into offsets into methods and file/line. Does generating a .gcno from this merged data sound feasible? Thoughts, insights, comments appreciated. Thanks. -- Joel Sherrill, Ph.D. Director of Research& Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985