Bug 27375

Summary: [dwz, dwarf5] .debug_addr support
Product: dwz Reporter: Tom de Vries <vries>
Component: defaultAssignee: Nobody <nobody>
Status: NEW ---    
Severity: enhancement CC: costamagnagianfranco, dwz, glaubitz, jordan, mark, martin.liska
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 24726    

Description Tom de Vries 2021-02-08 13:32:16 UTC
[ 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
Comment 1 Mark Wielaard 2021-02-18 14:45:36 UTC
Also note that there are two new location operations DW_OP_addrx and DW_OP_constx that can reference the .debug_addr section index.
Comment 2 Gianfranco 2022-09-22 06:37:11 UTC
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.
Comment 3 Gianfranco 2022-09-22 14:47:34 UTC
*** Bug 28985 has been marked as a duplicate of this bug. ***
Comment 4 Mark Wielaard 2024-05-10 12:24:48 UTC
(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/