aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorAndrew Browne <browneee@google.com>2022-04-13 11:49:49 -0700
committerAndrew Browne <browneee@google.com>2022-04-14 14:14:52 -0700
commitcddcf2170ae8d5a199bb99aac2fd27f520696efe (patch)
tree7886892dd0db71dfd2e29614f37211c58f0d9133 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent6cf0b1b3da3e8662baf030a2d741e3becaaab2b0 (diff)
downloadllvm-cddcf2170ae8d5a199bb99aac2fd27f520696efe.zip
llvm-cddcf2170ae8d5a199bb99aac2fd27f520696efe.tar.gz
llvm-cddcf2170ae8d5a199bb99aac2fd27f520696efe.tar.bz2
[DFSan] Avoid replacing uses of functions in comparisions.
This can cause crashes by accidentally optimizing out checks for extern_weak_func != nullptr, when replaced with a known-not-null wrapper. This solution isn't perfect (only avoids replacement on specific patterns) but should address common cases. Internal reference: b/185245029 Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D123701
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions