From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20953 invoked by alias); 12 Aug 2008 17:58:20 -0000 Received: (qmail 20939 invoked by uid 22791); 12 Aug 2008 17:58:19 -0000 X-Spam-Check-By: sourceware.org Received: from smtp1.dnsmadeeasy.com (HELO smtp1.dnsmadeeasy.com) (205.234.170.134) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 12 Aug 2008 17:57:40 +0000 Received: from smtp1.dnsmadeeasy.com (localhost [127.0.0.1]) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP id 6BA7E3205F1; Tue, 12 Aug 2008 17:57:51 +0000 (UTC) X-Authenticated-Name: js.dnsmadeeasy X-Transit-System: In case of SPAM please contact abuse@dnsmadeeasy.com Received: from avtrex.com (unknown [67.116.42.147]) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP; Tue, 12 Aug 2008 17:57:51 +0000 (UTC) Received: from dl2.hq2.avtrex.com ([192.168.7.26]) by avtrex.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 12 Aug 2008 10:57:37 -0700 Message-ID: <48A1CF11.2090608@avtrex.com> Date: Tue, 12 Aug 2008 18:06:00 -0000 From: David Daney User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: Dave Korn Cc: 'Tom Quarendon' , gcc@gcc.gnu.org, 'gcc help' Subject: Re: Exception handling tables for function generated on the fly References: <48A1B059.1040400@quarendon.net> <48A1C606.8090109@avtrex.com> <004401c8fca2$b8980090$9601a8c0@CAM.ARTIMI.COM> In-Reply-To: <004401c8fca2$b8980090$9601a8c0@CAM.ARTIMI.COM> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00124.txt.bz2 Dave Korn wrote: > David Daney wrote on 12 August 2008 18:19: > >> Questions like this should probably go to gcc-help@gcc.gnu.org > > Questions about deep compiler internals and EH abis? Seems a bit intense > for the where's-the-any-key list to me... > gcc@ is for questions about development of GCC. gcc-help@ is for everything else. . . . >> If you pass -funwind-tables to gcc it will generate the necessary >> unwinding information. . . . > Yes. The OP's question is "How do I generate .eh_frame data at runtime > for an arbitrary function that has no throws and no catches but may call > functions that throw". > Which is why I recommended passing -funwind-tables, which does exactly that. David Daney