diff options
author | 2023-02-10 01:11:58 +0100 | |
---|---|---|
committer | 2023-02-10 15:21:27 -0800 | |
commit | 24a87b477c65c33841c0511d268f46a226271502 (patch) | |
tree | e620e91e2a7ca09f2b35cf170a841a96f59473cd /kernel/bpf/core.c | |
parent | selftests/bpf: Split SAN_CFLAGS and SAN_LDFLAGS (diff) | |
download | linux-rng-24a87b477c65c33841c0511d268f46a226271502.tar.xz linux-rng-24a87b477c65c33841c0511d268f46a226271502.zip |
selftests/bpf: Forward SAN_CFLAGS and SAN_LDFLAGS to runqslower and libbpf
To get useful results from the Memory Sanitizer, all code running in a
process needs to be instrumented. When building tests with other
sanitizers, it's not strictly necessary, but is also helpful.
So make sure runqslower and libbpf are compiled with SAN_CFLAGS and
linked with SAN_LDFLAGS.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230210001210.395194-5-iii@linux.ibm.com
Diffstat (limited to 'kernel/bpf/core.c')
0 files changed, 0 insertions, 0 deletions