summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py
diff options
context:
space:
mode:
authorTatyana Krasnukha <tatyana@synopsys.com>2018-01-11 12:06:22 +0000
committerTatyana Krasnukha <tatyana@synopsys.com>2018-01-11 12:06:22 +0000
commit6c2c08f3a1b52941cb7097f5080adc9b03204a6a (patch)
treeb971fbb2a79725a762c60cccf13b61dbdb60ef1d /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py
parent0715d35ed5ac2312951976bee2a0d2587f98f39f (diff)
downloadbcm5719-llvm-6c2c08f3a1b52941cb7097f5080adc9b03204a6a.tar.gz
bcm5719-llvm-6c2c08f3a1b52941cb7097f5080adc9b03204a6a.zip
Check existence of each required component during construction of LLVMCDisassembler.
Summary: Actually, fix two issues: # remove repeat creation of reg_info, use m_reg_info_ap for createMCAsmInfo instead; # remove possibility to dereference nullptr during createMCAsmInfo invocation, that could lead to undefined behavior. Placed checking of a component right after its creation to simplify the code and avoid same issues later. Reviewers: zturner, clayborg, jingham, jasonmolenda, labath Reviewed By: clayborg, labath Subscribers: labath, lldb-commits Differential Revision: https://reviews.llvm.org/D41584 llvm-svn: 322270
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud