diff options
| author | 2021-11-07 08:55:13 -0800 | |
|---|---|---|
| committer | 2021-11-07 09:14:15 -0800 | |
| commit | 2a2cb45b727b7a1041f3d3d93414b774e66454bb (patch) | |
| tree | dd1db655fdd1dad0797e46871f3e02ac068fd893 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | Merge branch 'libbpf: add unified bpf_prog_load() low-level API' (diff) | |
| download | linux-dev-2a2cb45b727b7a1041f3d3d93414b774e66454bb.tar.xz linux-dev-2a2cb45b727b7a1041f3d3d93414b774e66454bb.zip | |
selftests/bpf: Pass sanitizer flags to linker through LDFLAGS
When adding -fsanitize=address to SAN_CFLAGS, it has to be passed both
to compiler through CFLAGS as well as linker through LDFLAGS. Add
SAN_CFLAGS into LDFLAGS to allow building selftests with ASAN.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Hengqi Chen <hengqi.chen@gmail.com>
Link: https://lore.kernel.org/bpf/20211107165521.9240-2-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
