-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzilla
Description
| Bugzilla Link | 2178 |
| Resolution | FIXED |
| Resolved on | Mar 31, 2008 14:19 |
| Version | unspecified |
| OS | All |
| CC | @asl,@tlattner |
Extended Description
On the demo cgi:
http://www.llvm.org/demo/index.cgi
enter this code:
struct S {
double d;
};
S foo(S);
double bar() {
S s;
s = foo(s);
return s.d;
}
Check C++ as source language and check "Show LLVM C++ API code".
The C++ API code shown does not show any use of ParamAttr::ByVal, despite `foo' being declared as
declare void @_Z3foo1S(%struct.S* sret , %struct.S* byval)
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzilla