diff options
| author | Alexander Potapenko <[email protected]> | 2023-03-03 15:14:30 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-03-28 16:20:11 -0700 |
| commit | 6dc4bd4e2fe395f8c9d5d0892e45ff7fed5c66f3 (patch) | |
| tree | b5bb37f58936b0bbbd8be84a7b9c519aa2c7282e /tools/perf/scripts/python | |
| parent | 7cb1d7ef667716a9ff4e692e7ba1c3817d872222 (diff) | |
x86: kmsan: don't rename memintrinsics in uninstrumented files
clang -fsanitize=kernel-memory already replaces calls to
memset/memcpy/memmove and their __builtin_ versions with
__msan_memset/__msan_memcpy/__msan_memmove in instrumented files, so
there is no need to override them.
In non-instrumented versions we are now required to leave memset() and
friends intact, so we cannot replace them with __msan_XXX() functions.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Alexander Potapenko <[email protected]>
Suggested-by: Marco Elver <[email protected]>
Reviewed-by: Marco Elver <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions