diff options
| author | Xing Xue <xingxue@outlook.com> | 2019-06-26 19:27:16 +0000 |
|---|---|---|
| committer | Xing Xue <xingxue@outlook.com> | 2019-06-26 19:27:16 +0000 |
| commit | 600941e34fed7fbbc68b3380ea1f63b28809035f (patch) | |
| tree | a08f17e82e1a0e9334f44ef8f59ad1f1e9f26d10 /lldb/packages/Python/lldbsuite/test/expression_command/import-std-module | |
| parent | 730a95c88aff8ceb7bd88cd4d8f30f533896cfb2 (diff) | |
| download | bcm5719-llvm-600941e34fed7fbbc68b3380ea1f63b28809035f.tar.gz bcm5719-llvm-600941e34fed7fbbc68b3380ea1f63b28809035f.zip | |
Print NULL as "(null)" in diagnostic message
Summary:
Passing a null pointer to the printf family for a %s format specifier leads to undefined behaviour. The tests currently expect (null). Explicitly test for a null pointer and provide the expected string.
Authored By: andusy
Reviewers: hubert.reinterpretcast, xingxue, jasonliu, daltenty, cebowleratibm
Reviewed By: hubert.reinterpretcast
Subscribers: arphaman, jsji, cfe-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63786
llvm-svn: 364462
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/import-std-module')
0 files changed, 0 insertions, 0 deletions

