diff options
author | Michael Jones <michaelrj@google.com> | 2023-08-02 10:53:52 -0700 |
---|---|---|
committer | Michael Jones <michaelrj@google.com> | 2023-08-07 14:47:09 -0700 |
commit | f6ba352988b2734cbbd21df98e5e5536d3cad98f (patch) | |
tree | 94fb87888626855417c0462c89805526d34ce8dc /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 07c8bcc21df6e05e59976c3fa19455fb7bb56e01 (diff) | |
download | llvm-f6ba352988b2734cbbd21df98e5e5536d3cad98f.zip llvm-f6ba352988b2734cbbd21df98e5e5536d3cad98f.tar.gz llvm-f6ba352988b2734cbbd21df98e5e5536d3cad98f.tar.bz2 |
[libc] Add nullptr check option to printf %s
Some printf implementations perform a null check on pointers passed to
%s. While that's not in the standard, this patch adds it as an option
for compatibility. It also puts a similar check in %n behind the same
flag.
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D156923
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions