commit | b2ce483243223fc80f57b49a9ea25cc48e6d1a84 | [log] [tgz] |
---|---|---|
author | Bjorn Steinbrink <bsteinbr@gmail.com> | Sun Dec 17 02:37:42 2017 +0000 |
committer | Bjorn Steinbrink <bsteinbr@gmail.com> | Sun Dec 17 02:37:42 2017 +0000 |
tree | ff56fd6870eb5a2119f85e17b49afd8d3a91dfb3 | |
parent | 217067d5179882de9deb60d2e866befea4c126e7 [diff] |
Properly handle byval arguments in getPointerDereferenceableBytes() Summary: For byval arguments, the number of dereferenceable bytes is equal to the size of the pointee, not the pointer. Reviewers: hfinkel, rnk Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D41305 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320939 91177308-0d34-0410-b5e6-96231b3b80d8