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

Baptiste Lepilleur baptiste.lepilleur at gmail.com
Wed Dec 9 11:54:29 PST 2009

2009/12/9 Anton Korobeynikov <anton at korobeynikov.info>

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

Thanks, this work great!

I naively though it would pick up the call convention from the declaration
as there was no error like we have when the wrong number of parameters is

>  --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091209/b5d225e3/attachment.html>

More information about the llvm-dev mailing list