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 /lldb/scripts/Python | |
parent | 9f37737311b90a9b60883184f0130c20d7a92dd3 (diff) | |
download | llvm-5000ee16f6eb6177e98570e786e6b4be050399b3.zip llvm-5000ee16f6eb6177e98570e786e6b4be050399b3.tar.gz llvm-5000ee16f6eb6177e98570e786e6b4be050399b3.tar.bz2 |
<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 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions