diff options
| author | Artem Dergachev <artem.dergachev@gmail.com> | 2019-07-01 23:02:18 +0000 |
|---|---|---|
| committer | Artem Dergachev <artem.dergachev@gmail.com> | 2019-07-01 23:02:18 +0000 |
| commit | ceb639dbeea97c901b2642ebe296eb358d27b2f6 (patch) | |
| tree | a8a86d4fe063869ad50940409ed31bb73f952923 /llvm/utils/TableGen/SDNodeProperties.cpp | |
| parent | 512f4838c47c5bab13d8bb0eabc01d64222825ae (diff) | |
| download | bcm5719-llvm-ceb639dbeea97c901b2642ebe296eb358d27b2f6.tar.gz bcm5719-llvm-ceb639dbeea97c901b2642ebe296eb358d27b2f6.zip | |
[analyzer] Fix invalidation when returning into a ctor initializer.
Due to RVO the target region of a function that returns an object by
value isn't necessarily a temporary object region; it may be an
arbitrary memory region. In particular, it may be a field of a bigger
object.
Make sure we don't invalidate the bigger object when said function is
evaluated conservatively.
Differential Revision: https://reviews.llvm.org/D63968
llvm-svn: 364870
Diffstat (limited to 'llvm/utils/TableGen/SDNodeProperties.cpp')
0 files changed, 0 insertions, 0 deletions

