http://llvm.org/bugs/show_bug.cgi?id=14096
Bug #: 14096
Summary: Fix for byval parameters
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: MSP430
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 9356
--> http://llvm.org/bugs/attachment.cgi?id=9356
Patch
I noticed that the 'byval' parameter attribute is ignored in the MSP430
backend. This causes functions that take a struct as argument to miscompile.
Specifically, structs that should be passed by value are passed as a pointer
instead.
I have attached a simple patch that addresses this problem.
--
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