diff options
| author | Andrew Delgadillo <[email protected]> | 2020-12-11 00:43:44 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2020-12-10 21:33:27 -0800 |
| commit | 89ad7420b25c2b40a4d916f4fd43b9ccacd50500 (patch) | |
| tree | 90296430dc4fe52b4b2606b3dc4ed99746a086e3 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | a67079b03165a17f9aceab3dd26b1638af68e0fc (diff) | |
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 <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions