summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorGabor Horvath <xazax@google.com>2019-12-23 10:01:00 -0800
committerGabor Horvath <xazax@google.com>2019-12-23 16:35:37 -0800
commit379613d7c7fa9698a2c300f4067165b5309a5e6e (patch)
treee310e2bfae0705b39ed0aa742584a6e63c923046 /lldb/packages/Python/lldbsuite/test/python_api
parent25cf5d97ace15c6835f6ad222c5a3aaa02c99522 (diff)
downloadbcm5719-llvm-379613d7c7fa9698a2c300f4067165b5309a5e6e.tar.gz
bcm5719-llvm-379613d7c7fa9698a2c300f4067165b5309a5e6e.zip
[CFG] Fix an assertion failure with static initializers
The CFGBlock::getLastCondition was not prepared for static initializer branches. This patch also revamps CFG unit tests. Earlier the lifetime of the AST was smaller than the CFG. So all the AST pointers within the CFG blocks were dangling. This was OK, since none of the tests dereferenced those pointers. This was, however, a timed bomb. There were patches in the past that were reverted partially due to this problem. Differential revision: https://reviews.llvm.org/D71791
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud