diff options
author | 2024-04-24 15:40:29 -0700 | |
---|---|---|
committer | 2024-04-24 15:45:38 -0700 | |
commit | 2e431b23a13ce4459cf484c8f0b3218c7048b515 (patch) | |
tree | d1946fc55676c51e2b83fb1ffc4bd4fe102e6c60 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ubsan: Remove 1-element array usage in debug reporting (diff) | |
download | wireguard-linux-2e431b23a13ce4459cf484c8f0b3218c7048b515.tar.xz wireguard-linux-2e431b23a13ce4459cf484c8f0b3218c7048b515.zip |
ubsan: Avoid i386 UBSAN handler crashes with Clang
When generating Runtime Calls, Clang doesn't respect the -mregparm=3
option used on i386. Hopefully this will be fixed correctly in Clang 19:
https://github.com/llvm/llvm-project/pull/89707
but we need to fix this for earlier Clang versions today. Force the
calling convention to use non-register arguments.
Reported-by: Erhard Furtner <erhard_f@mailbox.org>
Closes: https://github.com/KSPP/linux/issues/350
Link: https://lore.kernel.org/r/20240424224026.it.216-kees@kernel.org
Acked-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Justin Stitt <justinstitt@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions