[LLVMdev] Problem with code generated for call using stdcall convention
nicholas at mxc.ca
Thu Dec 10 09:21:49 PST 2009
Hans Wennborg wrote:
> I too have stumbled over this.
> Wouldn't it be a good idea to add a check for this to the function
> verifier pass?
No. This is a FAQ: http://llvm.org/docs/FAQ.html#callconvwrong
> Anton Korobeynikov wrote:
>>> 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
>> This is not an error, you're just invoking undefined behaviour.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev