diff options
author | Henry Wong <movietravelcode@outlook.com> | 2018-04-15 10:34:06 +0000 |
---|---|---|
committer | Henry Wong <movietravelcode@outlook.com> | 2018-04-15 10:34:06 +0000 |
commit | 525d4122c9ed09f50dee8683a14f4700cf5eb130 (patch) | |
tree | d95a7c812eef453c2978a3612a947ca9d1d4d3c1 /llvm/lib/CodeGen/TargetSubtargetInfo.cpp | |
parent | 6be1f01935f23d92c967024ee718a7f48748283c (diff) | |
download | bcm5719-llvm-525d4122c9ed09f50dee8683a14f4700cf5eb130.tar.gz bcm5719-llvm-525d4122c9ed09f50dee8683a14f4700cf5eb130.zip |
[analyzer] Do not invalidate the `this` pointer.
Summary:
`this` pointer is not an l-value, although we have modeled `CXXThisRegion` for `this` pointer, we can only bind it once, which is when we start to inline method. And this patch fixes https://bugs.llvm.org/show_bug.cgi?id=35506.
In addition, I didn't find any other cases other than loop-widen that could invalidate `this` pointer.
Reviewers: NoQ, george.karpenkov, a.sidorin, seaneveson, szepet
Reviewed By: NoQ
Subscribers: xazax.hun, rnkovacs, cfe-commits, MTC
Differential Revision: https://reviews.llvm.org/D45491
llvm-svn: 330095
Diffstat (limited to 'llvm/lib/CodeGen/TargetSubtargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions