summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2019-10-10 12:41:08 +0000
committerRui Ueyama <ruiu@google.com>2019-10-10 12:41:08 +0000
commit9adea6e4fae349564a946db22f8c5759567d30d1 (patch)
tree975e245d904ad465e9f6f4377839c9e6c4602453 /lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py
parent342b1b2e9b376835f17630d9697be4b78a019389 (diff)
downloadbcm5719-llvm-9adea6e4fae349564a946db22f8c5759567d30d1.tar.gz
bcm5719-llvm-9adea6e4fae349564a946db22f8c5759567d30d1.zip
Make nullptr check more robust
The only condition that isecLoc becomes null is Out::bufferStart == nullptr, isec->getParent()->offset == 0, and isec->outSecOff == 0. We can check the first condition only once. llvm-svn: 374332
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section/TestSectionAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud