From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1362 invoked by alias); 20 Dec 2010 21:15:45 -0000 Received: (qmail 1347 invoked by uid 22791); 20 Dec 2010 21:15:44 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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; Mon, 20 Dec 2010 21:15:39 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBKLFba7028879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Dec 2010 16:15:38 -0500 Received: from anchor.twiddle.home (ovpn-113-109.phx2.redhat.com [10.3.113.109]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oBKLFaFv017841; Mon, 20 Dec 2010 16:15:37 -0500 Message-ID: <4D0FC778.3010101@redhat.com> Date: Mon, 20 Dec 2010 21:45:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: IainS CC: GCC Patches , Mike Stump , Jakub Jelinek Subject: Re: [Patch Debug] Emit pubnames for reorder & partition case. References: <56186808-25DF-4EB9-AED6-3EDF309FEAA6@sandoe-acoustics.co.uk> In-Reply-To: <56186808-25DF-4EB9-AED6-3EDF309FEAA6@sandoe-acoustics.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2010-12/txt/msg01582.txt.bz2 On 12/20/2010 03:18 AM, IainS wrote: > + /* There is no real support in DW2 for this .. so we make > + a work-around. First, emit the pub name for the segment > + containing the function label. Then make and emit a > + simplified subprogram DIE for the second segment with the > + name post-fixed with _$hot$ or _$cold$. We use the same > + linkage name for the second die so that gdb will find both > + sections when given "b foo". */ This doesn't work when $ is not allowed, aka NO_DOLLAR_IN_LABEL. Presumably we need this workaround since Darwin is strict dwarf2? r~