summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-10-31 21:44:07 +0000
committerAlexey Samsonov <samsonov@google.com>2013-10-31 21:44:07 +0000
commit627e2c0dd75e32c58a881b2119df16159d615b66 (patch)
treeb74ec42f72413f82305d5a2c69cacde0080f7f18 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent49fd8de3c287beff63edac71303178db12385172 (diff)
downloadbcm5719-llvm-627e2c0dd75e32c58a881b2119df16159d615b66.tar.gz
bcm5719-llvm-627e2c0dd75e32c58a881b2119df16159d615b66.zip
[Sanitizer] Add Symbolizer::AddHooks() and use it in TSan and MSan.
Summary: TSan and MSan need to know if interceptor was called by the user code or by the symbolizer and use pre- and post-symbolization hooks for that. Make Symbolizer class responsible for calling these hooks instead. This would ensure the hooks are only called when necessary (during in-process symbolization, they are not needed for out-of-process) and save specific sanitizers from tracing all places in the code where symbolization will be performed. Reviewers: eugenis, dvyukov Reviewed By: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2067 llvm-svn: 193807
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud