From patchwork Thu Jul 19 22:31:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rong Xu X-Patchwork-Id: 172095 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 769732C0335 for ; Fri, 20 Jul 2012 08:32:05 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1343341925; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Received:To:Subject:Message-Id:Date: From:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=Tv1dPCg 1+TQE8VyV9+LuMeP/06I=; b=I2XsQHldikzZ6MS6lYd4/VykFukOiIrKnE7V2Tz PwuY+Hq4ZDXZQZx/EJwb9/54IT88to6kpp5V9hZ87CcOoa5YYiwL5x07EmlFZ9w8 hSC/zd42wCHxXMx1FHujgLDSvRIJuktqD6iPtnp21qwdKk6b6v6TczNNj+FlOgpd Cy1M= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-Google-DKIM-Signature:Received:Received:Received:Received:Received:To:Subject:Message-Id:Date:From:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=TkK/G9iMhtRORpx8oQLbdSW//Y4eK22U+gAYs9kJPfyDs1UGGDvtQP++z6A/OM Kj24GJFZ9beDfg9yssMvaYlg+mpx3OW+cOfAJazKN83pnUlHw8dZayWCb8WruCPa GKwX3vyIDMmbNNBB3KCHF4hBUDCVJ5J3qZzYnK0q9nCIQ=; Received: (qmail 17595 invoked by alias); 19 Jul 2012 22:32:00 -0000 Received: (qmail 17587 invoked by uid 22791); 19 Jul 2012 22:31:59 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, T_RP_MATCHES_RCVD, URIBL_DBL_REDIR X-Spam-Check-By: sourceware.org Received: from mail-wg0-f73.google.com (HELO mail-wg0-f73.google.com) (74.125.82.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Jul 2012 22:31:44 +0000 Received: by wgbdt12 with SMTP id dt12so99651wgb.2 for ; Thu, 19 Jul 2012 15:31:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=to:subject:message-id:date:from:x-gm-message-state; bh=9i/MeiZOgwLLwCajGE+goazKDovncsIdTYLP5OQFMd4=; b=AbrL6hAu09Vvh1ykd+PNPGJ0jrwQb+iY3lL5mCQDU5/VOPqAT5KSIGFl7Es4PlFEXH VMHHW6aj8BounWQEEyuvslVX/i299A6TsYs/VRO9X87BU64Xh4NG6khTyW9Xpe4y4kgC rggWX/Qecv++nRXWuDVGOk6jYx8gVXgt/4bmWCFg9ehB5Ia3sovDTQ9f+xHayo47NpeX hZxQTc6kqGBGEMLIEpz8qf+KWpV9kS6+AKvtP8VyV9BgaIb5drwkou6y58nC4aeTQYvj 0bRqDVpJK49LRLTFhjEzQlI8nQKJMYywF12aO3nirOd5k0n2vxNx5Sh20WqCVAdCwisO fbPA== Received: by 10.216.234.135 with SMTP id s7mr556680weq.8.1342737103639; Thu, 19 Jul 2012 15:31:43 -0700 (PDT) Received: by 10.216.234.135 with SMTP id s7mr556676weq.8.1342737103561; Thu, 19 Jul 2012 15:31:43 -0700 (PDT) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id 46si4362291eed.1.2012.07.19.15.31.43 (version=TLSv1/SSLv3 cipher=AES128-SHA); Thu, 19 Jul 2012 15:31:43 -0700 (PDT) Received: from rong.mtv.corp.google.com (rong.mtv.corp.google.com [172.18.110.233]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id 564E6200076; Thu, 19 Jul 2012 15:31:42 -0700 (PDT) Received: by rong.mtv.corp.google.com (Postfix, from userid 104659) id F2486C1713; Thu, 19 Jul 2012 15:31:30 -0700 (PDT) To: reply@codereview.appspotmail.com, davidxl@google.com, gcc-patches@gcc.gnu.org Subject: [google main] change the gcda tag for module info (issue6430053) Message-Id: <20120719223130.F2486C1713@rong.mtv.corp.google.com> Date: Thu, 19 Jul 2012 15:31:30 -0700 (PDT) From: xur@google.com (Rong Xu) X-Gm-Message-State: ALoCoQltcYx/KEu8rBMMvPFGkk9VjeBeIOKIsA+cFFBkEFN9y/eKGQ2kh5a2lC2Fxh59AetBomWJIDzQxz+oJwiOWZUwUL4iSD3PAdbB8z+0LoZmnsddMcbtuTtmtZLWSHAgq3jOXdRziBO4Oe6ht6JThVIuVgWkph2PSJVHZjdktlolptyTJ2qjZIE56qFHFXz+KGOD+4J9 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, This is for google branches only. Change the module_info tag to an odd number to avoid the warning during dump. -Rong 2012-07-19 Rong Xu * gcc/gcov-io.h (GCOV_TAG_MODULE_INFO): tag needs to be an odd number in each active level. --- This patch is available for review at http://codereview.appspot.com/6430053 Index: gcc/gcov-io.h =================================================================== --- gcc/gcov-io.h (revision 189690) +++ gcc/gcov-io.h (working copy) @@ -441,7 +441,6 @@ typedef HOST_WIDEST_INT gcov_type; #define GCOV_TAG_PROGRAM_SUMMARY ((gcov_unsigned_t)0xa3000000) #define GCOV_TAG_SUMMARY_LENGTH \ (1 + GCOV_COUNTERS_SUMMABLE * (3 + 3 * 2)) -#define GCOV_TAG_MODULE_INFO ((gcov_unsigned_t)0xa4000000) #define GCOV_TAG_PMU_LOAD_LATENCY_INFO ((gcov_unsigned_t)0xa5000000) #define GCOV_TAG_PMU_LOAD_LATENCY_LENGTH(filename) \ (gcov_string_length (filename) + 12 + 2) @@ -449,6 +448,7 @@ typedef HOST_WIDEST_INT gcov_type; #define GCOV_TAG_PMU_BRANCH_MISPREDICT_LENGTH(filename) \ (gcov_string_length (filename) + 5 + 2) #define GCOV_TAG_PMU_TOOL_HEADER ((gcov_unsigned_t)0xa9000000) +#define GCOV_TAG_MODULE_INFO ((gcov_unsigned_t)0xab000000) /* Counters that are collected. */ #define GCOV_COUNTER_ARCS 0 /* Arc transitions. */