Displaying 1 result from an estimated 1 matches for "01e80021".
Did you mean:
01e80024
2009 Dec 09
2
[LLVMdev] Problem with code generated for call using stdcall convention
...ldwin32.bc
which results into a crash.
When debbugging the lli crash, I found the following code being called by
llvm::ExecutionEngine::runFunctionAsMain():
---
01E80010 sub esp,4
01E80013 mov dword ptr [esp],0FFFFFFF5h
01E8001A call 7C812FD9
01E8001F xor eax,eax
01E80021 add esp,4
01E80024 ret
---
It is my understanding that the final "add esp, 4" should not be present
when using the stdcall convention as the callee is responsible for popping
the arguments from the stack, but I'm not an expert on this.
Is the x86_stdcallcc call convention...