diff options
| author | Enrico Granata <egranata@apple.com> | 2014-01-27 21:31:26 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2014-01-27 21:31:26 +0000 |
| commit | 5000ee16f6eb6177e98570e786e6b4be050399b3 (patch) | |
| tree | 4ecd64f0a55d36af16a82034d09577fe24984687 /llvm/lib | |
| parent | 9f37737311b90a9b60883184f0130c20d7a92dd3 (diff) | |
| download | bcm5719-llvm-5000ee16f6eb6177e98570e786e6b4be050399b3.tar.gz bcm5719-llvm-5000ee16f6eb6177e98570e786e6b4be050399b3.zip | |
<rdar://problem/15776874>
ValueObjectPrinter could enter an infinite loop while trying to display an aptly formed ValueObject: a reference, with a child of some pointer type, such that the pointees chain ended up pointing back to some part of itself - a pointer to itself being the simplest such case
Fixed here by only setting a pointer depth when needed, and ensuring that we won't overflow and wrap the pointer depth when it's zero.
llvm-svn: 200247
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

