diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-11-20 23:07:40 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-11-24 16:58:45 -0800 |
commit | ffc88174cdcf5f51fb7f6298fe9203a36c904f1f (patch) | |
tree | 0776748fd7991bad8fd5ff1d8070d9d29035f8f7 /tools/lib/bpf/libbpf.c | |
parent | selftests/bpf: Integrate verbose verifier log into test_progs (diff) | |
download | linux-dev-ffc88174cdcf5f51fb7f6298fe9203a36c904f1f.tar.xz linux-dev-ffc88174cdcf5f51fb7f6298fe9203a36c904f1f.zip |
selftests/bpf: Ensure no DWARF relocations for BPF object files
Add -mattr=dwarfris attribute to llc to avoid having relocations against DWARF
data. These relocations make it impossible to inspect DWARF contents: all
strings are invalid.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191121070743.1309473-2-andriin@fb.com
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions