[LLVMdev] Windows x64 support

Nicholas Chapman nickamy at paradise.net.nz
Sat Oct 25 05:21:31 PDT 2008


Hi Nicolas,
Problems I've run into with the x64 JIT on Windows include overwriting 
of the stack when a call is made into host code (and subsequent reads of 
incorrect data), and zeroing out of the upper 32 bits of the address of 
lazily linked functions, resulting in jumps to incorrect addresses.

Nick C.


Nicolas Capens wrote:
> Hi Anton,
>
> Thanks for the heads up. I've only encountered this bug though, and my
> workaround fixes x64 for me. Could you maybe sum up the other remaining
> issues?
>
> Anyhow, is there any reason why my workaround is not fit for committing? It
> works wonderfully for me and I see little reason to hold it back. Currently
> I have to patch it every time I do an update.
>
> Thanks,
>
> Nicolas
>
>
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
> Behalf Of Anton Korobeynikov
> Sent: Thursday, 23 October, 2008 18:02
> To: LLVM Developers Mailing List
> Subject: Re: [LLVMdev] Windows x64 support
>
> Hi Nicolas,
>
>   
>> never got committed entirely so things are still broken. It should
>>     
> probably
>   
>> be reopened, have my workaround committed, and then later a proper fix
>>     
> that
>   
>> doesn't cost (a tiny bit of) performance could be done.
>>     
> This is only the tip of the iceberg, unfortunately. There are others
> more severe ABI incompatibilities.
>
> --
> WBR, Anton Korobeynikov 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
>   




More information about the llvm-dev mailing list