aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2022-08-11 10:40:57 +0200
committerMarco Elver <elver@google.com>2022-08-11 10:43:49 +0200
commitc47ec95531619fcc4faaf2c74de49779b71a5b5b (patch)
treeab0e87f1ee79aab51d5f606a35d4e05e4010d6ff /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parentf695554a2a5550ae40da35af9ac22bfcca5db09a (diff)
downloadllvm-c47ec95531619fcc4faaf2c74de49779b71a5b5b.zip
llvm-c47ec95531619fcc4faaf2c74de49779b71a5b5b.tar.gz
llvm-c47ec95531619fcc4faaf2c74de49779b71a5b5b.tar.bz2
[MemorySanitizer] Support memcpy.inline and memset.inline
Other sanitizers (ASan, TSan, see added tests) already handle memcpy.inline and memset.inline by not relying on InstVisitor to turn the intrinsics into calls. Only MSan instrumentation currently does not support them due to missing InstVisitor callbacks. Fix it by actually making InstVisitor handle Mem*InlineInst. While the mem*.inline intrinsics promise no calls to external functions as an optimization, for the sanitizers we need to break this guarantee since access into the runtime is required either way, and performance can no longer be guaranteed. All other cases, where generating a call is incorrect, should instead use no_sanitize. Fixes: https://github.com/llvm/llvm-project/issues/57048 Reviewed By: vitalybuka, dvyukov Differential Revision: https://reviews.llvm.org/D131577
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions