[ Not a duplicate of PR24756, that one is related to split dwarf. There will be overlap though. ] $ clang -gdwarf-5 ../src/testsuite/dwz.tests/hello.c $ cp a.out 1; ./dwz 1 ./dwz: 1: Unknown debugging section .debug_addr
Also note that there are two new location operations DW_OP_addrx and DW_OP_constx that can reference the .debug_addr section index.
https://sourceware.org/pipermail/dwz/2021q1/000930.html contains a patch for this issue. and my bug https://sourceware.org/bugzilla/show_bug.cgi?id=28985 is duplicate of this one.
*** Bug 28985 has been marked as a duplicate of this bug. ***