diff options
author | Andrew Delgadillo <adelg@google.com> | 2020-12-11 03:43:44 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2020-12-11 08:33:27 +0300 |
commit | 89ad7420b25c2b40a4d916f4fd43b9ccacd50500 (patch) | |
tree | 90296430dc4fe52b4b2606b3dc4ed99746a086e3 /scripts/Makefile.host | |
parent | a67079b03165a17f9aceab3dd26b1638af68e0fc (diff) | |
download | linux-89ad7420b25c2b40a4d916f4fd43b9ccacd50500.tar.xz |
selftests/bpf: Drop the need for LLVM's llc
LLC is meant for compiler development and debugging. Consequently, it
exposes many low level options about its backend. To avoid future bugs
introduced by using the raw LLC tool, use clang directly so that all
appropriate options are passed to the back end.
Additionally, simplify the Makefile by removing the
CLANG_NATIVE_BPF_BUILD_RULE as it is not being use, stop passing
dwarfris attr since elfutils/libdw now supports the bpf backend (which
should work with any recent pahole), and stop passing alu32 since
-mcpu=v3 implies alu32.
Signed-off-by: Andrew Delgadillo <adelg@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20201211004344.3355074-1-adelg@google.com
Diffstat (limited to 'scripts/Makefile.host')
0 files changed, 0 insertions, 0 deletions