diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-08-22 17:24:56 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-08-22 17:24:56 +0000 |
| commit | 41c6dcc7341db47e59e1cb3d60a08b420efd2bfc (patch) | |
| tree | 449c505cc86e726c737059b1ca34802ed77d9e14 /lldb/test/lang/cpp/class_static/TestStaticVariables.py | |
| parent | 899c36525706126b008d1241c3a568783e9849e6 (diff) | |
| download | bcm5719-llvm-41c6dcc7341db47e59e1cb3d60a08b420efd2bfc.tar.gz bcm5719-llvm-41c6dcc7341db47e59e1cb3d60a08b420efd2bfc.zip | |
Fix a crash-on-valid that has been here for a very long time:
const int &x = x;
This crashed by inifinetly recursing within the lvalue evaluation
routine. I've added a (somewhat) braindead way of preventing this
recursion. If folks have better suggestions for how to avoid it I'm all
ears.
That said, we have some work to do. This doesn't trigger a single
warning for uninitialized, self-initialized or otherwise completely
wrong code. In some senses, the crash was almost better.
llvm-svn: 138239
Diffstat (limited to 'lldb/test/lang/cpp/class_static/TestStaticVariables.py')
0 files changed, 0 insertions, 0 deletions

