From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30120 invoked by alias); 15 Jul 2011 18:16:07 -0000 Received: (qmail 30109 invoked by uid 22791); 15 Jul 2011 18:16:06 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Jul 2011 18:15:52 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6FIFpUX007832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 15 Jul 2011 14:15:51 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6FIFp26006760; Fri, 15 Jul 2011 14:15:51 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p6FIFnBv014725; Fri, 15 Jul 2011 14:15:49 -0400 From: Tom Tromey To: Jakub Jelinek Cc: gcc-patches@gcc.gnu.org, Jason Merrill , Richard Henderson , Jan Kratochvil , Roland McGrath , Cary Coutant , Mark Wielaard Subject: Re: [RFC] More compact (100x) -g3 .debug_macinfo (take 2) References: <20110713170053.GX2687@tyan-ft48-01.lab.bos.redhat.com> <20110715154223.GM2687@tyan-ft48-01.lab.bos.redhat.com> Date: Fri, 15 Jul 2011 18:28:00 -0000 In-Reply-To: <20110715154223.GM2687@tyan-ft48-01.lab.bos.redhat.com> (Jakub Jelinek's message of "Fri, 15 Jul 2011 17:42:23 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg01273.txt.bz2 >>>>> "Jakub" == Jakub Jelinek writes: Jakub> The patch below implements that slight change, in particular the Jakub> "4" suffixes from the op names were dropped, Jakub> DW_MACINFO_GNU_*_indirect have DW_FORM_udata and DW_FORM_strp Jakub> arguments now (i.e. DWARF_OFFSET_SIZE large) and Jakub> DW_MACINFO_GNU_transparent_include has DW_FORM_sec_offset Jakub> argument (i.e. again 4 bytes long for 32-bit DWARF and 8 bytes Jakub> long for 64-bit DWARF). GCC assures that no merging will happen Jakub> between .debug_macinfo chunks with 32-bit and 64-bit DWARF by Jakub> adding the byte size in the comdat GROUP name. I think that's Jakub> cleaner than hardcoding 4 bytes and not optimizing anything on Jakub> MIPS. The .debug_macinfo section doesn't have any header describing its contents. How would a consumer know which offset size to use? Tom