This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] CFG-based generator of unwind info
- From: Josef Zlomek <zlomj9am at artax dot karlin dot mff dot cuni dot cz>
- To: Jim Wilson <wilson at specifixinc dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 3 Dec 2003 19:49:47 +0100
- Subject: Re: [RFC] CFG-based generator of unwind info
- References: <200311272308.hARN8rww016158@elgar.kettenis.dyndns.org> <20031127234431.GC12234@redhat.com> <20031129205252.GA27300@artax.karlin.mff.cuni.cz> <20031130111835.GA21115@artax.karlin.mff.cuni.cz> <3FCD4B90.4080502@specifixinc.com>
> >I'm working on a CFG based generator of unwind info, the patch is attached.
>
> Keep in mind that we support two different unwind info formats, one
> based on DWARF2 CFI, and one based on IA-64 unwind sections. Also, we
> support 3 different unwinders, the one in libgcc, the one in David
> Mosberger's libunwind package, and the one in the ia64-hpux system
> library. The latter two only support IA-64 unwind sections. The data
> formats and APIs are standardized in the IA-64 ABI and in the C++ ABI.
Thanks for reminding.
> I see you propose adding a new function to unwind.h,
> _Unwind_Get_Argument_Reg. This is a deviation from the C++ ABI, and
> also by implication from the IA-64 ABI. This needs to be documented,
> and we need to avoid use of it when alternative unwind libraries are
> used, because none of them will have it. Current deviations are
> documented with @@@, and there is a libstdc++ macro LIBUNWIND_STD_ABI
> that controls what functions libstdc++ can call.
This was ment to be used by user to get the value from unwind context.
It would not be used anywhere in GCC and its libraries.
Josef