[PATCH] Fix compilation with MinGW-w64 GCC 4.8.2 64-bit SEH

Yaron Keren yaron.keren at gmail.com
Tue Dec 17 01:34:14 PST 2013


Hi Kai,

Thanks for the updated patch.

Another question,  __register_frame and __deregister_frame are used with
JIT and MCJIT to dynamically (de)register generated code.

Are these functions missing or not required: without these functions, the
gcc unwinder won't have the DWARF data for the dynamic code, so will
exceptions for dynamic-generated code still work? how?

Yaron



2013/12/17 Kai Nacke <kai at redstar.de>

> Hi Yaron!
>
> I attach my current patch. This one is also available at
> http://redstar.de/ldc/win64eh_all_20131217.diff. It supersedes all the
> referenced source below.
> This patch is required to support SEH in LLVM. (The patch implements Dwarf
> EH on top of SEH like gcc 4.8.)
> I also attach clang.diff. This adds half of SEH support to clang. The
> required changes in the driver are still missing.
>
> Regards,
> Kai
>
>
> On 17.12.2013 09:58, Yaron Keren wrote:
>
>> Hi Jonathan and Kai,
>>
>> Committed patch in revision 197483.
>>
>> Regarding SEH Win64 in LLVM/clang, between the patches...
>>
>> http://redstar.de/ldc/win64eh_all_20131117.diff
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-
>> of-Mon-20130909/188032.html
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-
>> of-Mon-20130909/188029.html
>>
>> what is required -
>> to support SEH in LLVM?
>> to support SEH in clang?
>>
>> Yaron
>>
>>
>>
>> 2013/12/17 Yaron Keren <yaron.keren at gmail.com
>> <mailto:yaron.keren at gmail.com>>
>>
>>
>>
>>        Committed revision 197483.
>>
>>     http://llvm-reviews.chandlerc.com/D2378
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131217/8c5c4a8e/attachment.html>


More information about the llvm-commits mailing list