[ 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. ***
(In reply to Gianfranco from comment #2) > https://sourceware.org/pipermail/dwz/2021q1/000930.html contains a patch for > this issue. Note that patch has been integrated and is in release but doesn't handle .debug_addr. There is a patch that does here: https://inbox.sourceware.org/dwz/CH0PR12MB52659E9758818EBFDFE85EA8962E9@CH0PR12MB5265.namprd12.prod.outlook.com/