[PATCH] D21453: Add support for attribute "overallocated"
Akira Hatanaka via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 23 16:40:13 PDT 2016
ahatanak updated this revision to Diff 61743.
ahatanak added a comment.
Address review comments and change the wording in AttrDocs.td to explain what the attribute means and how it is used. Also, fixed the code in VisitMemberExpr to set LValue::OverAllocated before the base class of the member expression is visited. This change was needed because the base class of the innermost MemberExpr has to be examined to see whether the member belongs to an overallocated class. Without this change, the last check in test/CodeGen/object-size.c fails.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7919 bytes
Desc: not available
More information about the cfe-commits