diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2020-11-04 20:33:59 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2020-11-05 18:37:30 -0800 |
| commit | 6b6e6b1d09aa20c351a1fce0ea6402da436624a4 (patch) | |
| tree | ce2216a56c34da099693b7162eb7bef8e1d3f8aa /scripts/stackusage | |
| parent | libbpf: Support BTF dedup of split BTFs (diff) | |
| download | linux-6b6e6b1d09aa20c351a1fce0ea6402da436624a4.tar.gz linux-6b6e6b1d09aa20c351a1fce0ea6402da436624a4.zip | |
libbpf: Accomodate DWARF/compiler bug with duplicated identical arrays
In some cases compiler seems to generate distinct DWARF types for identical
arrays within the same CU. That seems like a bug, but it's already out there
and breaks type graph equivalence checks, so accommodate it anyway by checking
for identical arrays, regardless of their type ID.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201105043402.2530976-10-andrii@kernel.org
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
