Displaying 2 results from an estimated 2 matches for "exportfunc1".
Did you mean:
_exportfunc1
2012 Feb 07
2
[LLVMdev] x86 asm dllexport output for mingw targets
It seems that the DLL export directives for __cdecl and __stdcall
functions are not correctly written in asm output.
For example, when declaring a function like this:
__declspec(dllexport) int __cdecl exportFunc1(int c);
ASM output is:
.def _exportFunc1;
.scl 2;
.type 32;
.endef
.text
.globl _exportFunc1
.align 16, 0x90
_exportFunc1:
movl 4(%esp), %eax
ret
.section .drectve,"r"
.ascii " -export:_exportFunc1"
GNU assembler fails with the message that it can't fin...
2012 Feb 07
0
[LLVMdev] x86 asm dllexport output for mingw targets
Alen,
> It seems that the DLL export directives for __cdecl and __stdcall
> functions are not correctly written in asm output.
So, this is for all functions then, right? :)
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University