[LLVMdev] Problem with code generated for call using stdcall convention

Anton Korobeynikov anton at korobeynikov.info
Wed Dec 9 03:14:13 PST 2009


> Is the x86_stdcallcc call convention actually supported? I found it by
> digging into LLVM sources
Yes. It's fully supported.

> Is my initial LLVM-IR correct for invoking WIN32 API function?
No. You forgot to put calling convention on the call itself.

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list