summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py
diff options
context:
space:
mode:
authorLeonard Mosescu <mosescu@google.com>2018-06-11 21:19:26 +0000
committerLeonard Mosescu <mosescu@google.com>2018-06-11 21:19:26 +0000
commite1bb51789d8e01a13069f7204e95ad91ac2f6035 (patch)
treea1a55822ec738c6269dc8c8410b27ed90b45e225 /lldb/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py
parented32baa84bb32fd150de6f04e9b73c3e723767c8 (diff)
downloadbcm5719-llvm-e1bb51789d8e01a13069f7204e95ad91ac2f6035.tar.gz
bcm5719-llvm-e1bb51789d8e01a13069f7204e95ad91ac2f6035.zip
Add a new SBTarget::LoadCore() overload which surfaces errors if the load fails
There was no way to find out what's wrong if SBProcess SBTarget::LoadCore(const char *core_file) failed. Additionally, the implementation was unconditionally setting sb_process, so it wasn't even possible to check if the return SBProcess is valid. This change adds a new overload which surfaces the errors and also returns a valid SBProcess only if the core load succeeds: SBProcess SBTarget::LoadCore(const char *core_file, SBError &error); Differential Revision: https://reviews.llvm.org/D48049 llvm-svn: 334439
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud