This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch i386 mingw]: Disallow DW2 unwind for 64-bit and multilib


2009/8/25 Dave Korn <dave.korn.cygwin@googlemail.com>:
> Kai Tietz wrote:
>> 2009/8/25 Jason Merrill <jason@redhat.com>:
>>> On 07/24/2009 03:55 AM, Kai Tietz wrote:
>>>> 2009/7/24 Arnaud Charlet<charlet@adacore.com>:
>>>>> BTW, do you know how hard it would be to get dwarf2 unwind based
>>>>> exceptions
>>>>> working on 64 bit windows? What are the missing/blocking points?
>>>> The major issue is that the current implementation is using code
>>>> analysis for finding frame information. This is for x64 even harder
>>>> then for x86 as there much more possibilities of prologue entries.
>>> How is this different from other x86_64 targets?
>>>
>>> Jason
>>>
>>
>> Well, see for this /gcc/config/i386/mingw32.h file
>> (MD_UNWIND_SUPPORT), and the header included here for dw2 based
>> unwinding, and you will see that this can't be used for 64-bit, for
>> sure (config/i386/w32-unwind.h).
>
> ?Hopefully your new .pdata support in gas is going to help with that, isn't it?
>
> ? ?cheers,
> ? ? ?DaveK
>


Yes, the seh support for x64 windows can help here. As then the
unwinding can be done by the pdata/xdata information.

Cheers,
Kai
-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]