summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp
diff options
context:
space:
mode:
authorDerek Bruening <bruening@google.com>2016-03-25 19:33:45 +0000
committerDerek Bruening <bruening@google.com>2016-03-25 19:33:45 +0000
commite988af9073dc59d6b158b0b90570b97415ba52a2 (patch)
treec9a7cccdd743d8c5c3b891f604069cdb1d8b1059 /lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp
parent2544788e13b3c6f8651fea26ce204ecb2285dc83 (diff)
downloadbcm5719-llvm-e988af9073dc59d6b158b0b90570b97415ba52a2.tar.gz
bcm5719-llvm-e988af9073dc59d6b158b0b90570b97415ba52a2.zip
[sanitizer] Add memset, memmove, and memcpy to the common interceptors
Summary: Currently, sanitizer_common_interceptors.inc has an implicit, undocumented assumption that the sanitizer including it has previously declared interceptors for memset and memmove. Since the memset, memmove, and memcpy routines require interception by many sanitizers, we add them to the set of common interceptions, both to address the undocumented assumption and to speed future tool development. They are intercepted under a new flag intercept_intrin. The tsan interceptors are removed in favor of the new common versions. The asan and msan interceptors for these are more complex (they incur extra interception steps and their function bodies are exposed to the compiler) so they opt out of the common versions and keep their own. Reviewers: vitalybuka Subscribers: zhaoqin, llvm-commits, kcc Differential Revision: http://reviews.llvm.org/D18465 llvm-svn: 264451
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_script/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud