[PATCH][MC/X86_64] Implement Win64 exception handling
Nico Rieck
nico.rieck at gmail.com
Fri Nov 22 11:07:12 PST 2013
On 22.11.2013 18:06, Kai Nacke wrote:
> My understanding is that LEA instructions to adjust the stack pointer
> are invalid in prolog code. But I recheck in MSDN.
Hm. I can't find anything that explicitly forbids this. If it's a simple
LEA like "leaq -48(%rsp), %rsp" an alloc unwind code should be fine.
>> Have you planned to fix PR16779, too?
>
> Well, only if I find a good solution. (I already tried but had no success.)
My first impression was that the general principle (over-allocate and
align later on) shouldn't be too difficult to, though the prolog
generating code is quite complex already. Did you stumble upon other
problems?
-Nico
More information about the llvm-commits
mailing list