Displaying 1 result from an estimated 1 matches for "01e8001a".
Did you mean:
01e80010
2009 Dec 09
2
[LLVMdev] Problem with code generated for call using stdcall convention
...worldwin32.ll
and running it with lli using:
lli.exe helloworldwin32.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...