diff options
author | Reid Kleckner <rnk@google.com> | 2019-10-04 18:57:01 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-10-04 18:57:01 +0000 |
commit | cfe3bf89c2962d5f121450659669b9d469dc8b97 (patch) | |
tree | 104df98f8104099af8f8203242d8218507f6f74c /lldb/packages/Python/lldbsuite/test/python_api | |
parent | ce452b1ca9fdb12604db3dc2059246e189e55d7b (diff) | |
download | bcm5719-llvm-cfe3bf89c2962d5f121450659669b9d469dc8b97.tar.gz bcm5719-llvm-cfe3bf89c2962d5f121450659669b9d469dc8b97.zip |
Add missing null pointer check in -ftime-trace code
createOutputFile diagnoses the error for the caller already, so recover
by not writing the output.
Fixes PR43555
No test, since I couldn't think of a good, portable, simple way to make
the regular -o output file writable, but outputfile.json not writable.
llvm-svn: 373771
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions