diff options
author | Gui Andrade <guiand@google.com> | 2020-06-15 15:17:00 -0700 |
---|---|---|
committer | Evgenii Stepanov <eugenis@google.com> | 2020-06-15 17:49:18 -0700 |
commit | b0ffa8befe4f631b058bb56d1f05c1977c5f6912 (patch) | |
tree | d957411d08b47387ecf8893f77e3f6eb8870e0bc /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | 576fa5a50c8509977835031d190f8906e1dbb075 (diff) | |
download | llvm-b0ffa8befe4f631b058bb56d1f05c1977c5f6912.zip llvm-b0ffa8befe4f631b058bb56d1f05c1977c5f6912.tar.gz llvm-b0ffa8befe4f631b058bb56d1f05c1977c5f6912.tar.bz2 |
[MSAN] Pass Origin by parameter to __msan_warning functions
Summary:
Normally, the Origin is passed over TLS, which seems like it introduces unnecessary overhead. It's in the (extremely) cold path though, so the only overhead is in code size.
But with eager-checks, calls to __msan_warning functions are extremely common, so this becomes a useful optimization.
This can save ~5% code size.
Reviewers: eugenis, vitalybuka
Reviewed By: eugenis, vitalybuka
Subscribers: hiraditya, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D81700
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions