From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Taahir Ahmed Newsgroups: gmane.lisp.guile.devel Subject: Re: Exception-safety for C++ code integrated with Guile. Date: Tue, 24 Feb 2015 13:59:24 -0600 Message-ID: <2825010.3hA8aj4kt9@basis> References: <474913203.jcqxqasMgP@basis> <83bnkj6t28.fsf@gnu.org> Reply-To: ahmed.taahir@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1804883.23ip7RixoK"; micalg="pgp-sha1"; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1424807984 23572 80.91.229.3 (24 Feb 2015 19:59:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2015 19:59:44 +0000 (UTC) Cc: guile-devel@gnu.org To: Eli Zaretskii Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Feb 24 20:59:44 2015 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YQLdu-0002JD-Cc for guile-devel@m.gmane.org; Tue, 24 Feb 2015 20:59:42 +0100 Original-Received: from localhost ([::1]:51110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQLdt-0004KT-Ue for guile-devel@m.gmane.org; Tue, 24 Feb 2015 14:59:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQLdq-0004Hg-Mn for guile-devel@gnu.org; Tue, 24 Feb 2015 14:59:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQLdp-0001U4-Tj for guile-devel@gnu.org; Tue, 24 Feb 2015 14:59:38 -0500 Original-Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:57107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQLdl-0001TS-Vg; Tue, 24 Feb 2015 14:59:34 -0500 Original-Received: by mail-ob0-f170.google.com with SMTP id va2so45861273obc.1; Tue, 24 Feb 2015 11:59:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:reply-to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-type; bh=/hJ6Vy0gO2JeooeAdJz1eZUPyeri3Q5uHXRtFVFyqUE=; b=yz/Z3L8ybVfxUd1rsn453Mhjwl7l7TcksGsxETVgnF+vuUPOT3AFVzlUqQ6o23rLHX TK2aTAvKD5u3uyts5IecbwodgZE+JqlxiHDHaef/aUYp1VzahlBND5dIyhvVm4qJEHCS fFMjNNm2HjkDo8nt4SxzbR2VG8yq1kzXCbC9wiSpKjG2G8YS7uSETTaU5pPccZFPP1yW MWMZjSVEV5bvTUTp0TMjSWaKyb1dPmNTd0rhKhlR7d7wtTelvk9b/ojRTMSZ2VD92l3W vnQlMz9PHnv2V+jIMS5hc8FT102kwilnwW7Ujk0ocbAuPWF1Xz33BpMroyp1qqlf7XXY jbkg== X-Received: by 10.60.68.33 with SMTP id s1mr5178548oet.79.1424807973276; Tue, 24 Feb 2015 11:59:33 -0800 (PST) Original-Received: from basis.localnet (nat-165-91-12-5.tamulink.tamu.edu. [165.91.12.5]) by mx.google.com with ESMTPSA id f5sm4635466oek.3.2015.02.24.11.59.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 11:59:32 -0800 (PST) User-Agent: KMail/4.14.3 (Linux/3.16.5-gentoo; KDE/4.14.3; x86_64; ; ) In-Reply-To: <83bnkj6t28.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22a X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17676 Archived-At: --nextPart1804883.23ip7RixoK Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Alternatively, it looks like both gcc and clang export the ia64 c++ exception api as . (Note that it is called "ia64" as a historical artifact, since it was originally developed for ia64). It looks like it should be easy to have some sj/lj wrappers that use the system sj/lj for register saving and jumping, and the interface to destroy intermediate frames. I'll try to hack up a solution based on this. Taahir --nextPart1804883.23ip7RixoK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABAgAGBQJU7NgkAAoJEP0dGB2mOaLGcjoH/0yqdbN+EFcEwAT80G9EQ0Cw FP7bPK/wkUfik4oHAip4rIWIzcNC2LR5GyXJ9+L2GLkxXDeBm/c3NZ42Rb9uer5x S/a+zTFe4zGNZVzDR+ioPADIzTWrygKw6MgF4wPTAjpsq1pVuJOGGIigvIkI751+ Mxdd2iM9ayS7gilJXts+NbqR2vZkmPBHfZpjLZ++CNHb9MsbVXQq5SWjt8DZ/fHK RG4O20EJhg9hExIONy9tQBZA0IPmGWkSNAJmpbBmi8n/j1DxJdVlZmUIKZDRbgMP O6Q20jPrU79dXbgRQdGEpmuzU0770SHFxgq9Cu/S8089zSqTOQ5VMsxYCZfEP8A= =buUN -----END PGP SIGNATURE----- --nextPart1804883.23ip7RixoK--