http://llvm.org/bugs/show_bug.cgi?id=2936
Summary: wrong x86 asm symbol name decoration
Product: libraries
Version: 2.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Created an attachment (id=2124)
--> (http://llvm.org/bugs/attachment.cgi?id=2124)
testcase
when dllexport'ing functions with llvm on the x86 cygwin platform two bugs
arose:
1. the X86ATTAsmPrinter uses the properly decorated function names in the
function definition, but exports the undecorated names.
2. both, the X86ATTAsmPrinter and X86IntelAsmPrinter use an incorrectly
decorated name when calling a fastcall/stdcall function. this only happens if
the function is called before it is defined.
I'm attaching a single testcase to reproduce both problems.
It is only reproduceable with the 2.4 branch on cygwin or mingw.
Additionally I'm providing a workaround (not a fully tested patch).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs