[LLVMdev] [PATCH] Seh exceptions on Win64

Kai Nacke kai at redstar.de
Tue Apr 22 00:21:13 PDT 2014


Hi Chandler,


On 18.04.2014 22:08, Chandler Carruth wrote:
> Also, folks informed us of at least one place where a patch posted to
> the list by Kai in the past from the LDC / redstar.de
> <http://redstar.de/> work contained copied copyrighted material that Kai
> did not hold the rights to, and was not available under *any* license.

To which patch/post are you refering? I am not aware of such an issue.
The original patch is from Charles Davis. I attach the communication how 
I got the code. Or is here more to do?

Regards,
Kai

-------------- next part --------------

Subject:
Re: Win64 Exception Handling
From:
kai <kai at redstar.de>
Date:
17.01.2012 18:05
To:
Charles Davis <cdavis at mymail.mines.edu>

Hi Chip!

Thanks for the patch. Maybe I can fill in the missing pieces....

Regards
Kai

On 16.01.2012 23:46, Charles Davis wrote:
> Hi Kai,
>
> On Jan 16, 2012, at 12:22 PM, Kai wrote:
>
>> Hi Charles!
>>
>>  From the LLVM mailing list I know that you are working on Win64 exception handling support.
>>
>> I try to port LDC2 (the LLVM based D compiler) to Win64. After creating TLS support for Windows, the native exception handling seems to be the last missing piece.
>>
>> I like to know the status of your work. Is the implementation usable?
> Not yet. There's one big piece missing: the part where the backend actually emits the SEH assembler directives for various instructions. I have an incomplete patch for that, but I've been busy lately, so I haven't had much time to work on it. (Then, of course, it needs to be turned on on x86_64/Windows, but I wasn't going to do that until I had this finished, tests in place passing, etc.)
>
> I'll attach what I have so far; maybe you'll have better luck than me :).
>> I found a lot of supporting code, but the Win64 exception handling code seems not to be enabled.
>>
>> Thanks for your help.
>>
>> Best regards
>> Kai
> Chip



More information about the llvm-dev mailing list