Re: multi debug files and artificial module

2020-11-05 Thread Sasha Da Rocha Pinheiro via Elfutils-devel
Hi Mark, Thanks for your response. In libdw.h it says: /* The offset can be computed from the address.  */ How do I get the CU DIE offset from the address? Only saving the first CU and subtracting it on the others to get the offset? When we go through the .debug_info using dwarf_nextcu, we are g

[PATCH] libdwfl: Do not dlopen libdebuginfod if DEBUGINFOD_URLS is unset or empty

2020-11-05 Thread Vitaly Chikunov
Avoid calling expensive dlopen at the cost of an extra getenv check when we already know it would not be needed. This mirrors the getenv check from debuginfod_query_server. Signed-off-by: Vitaly Chikunov Reviewed-by: Dmitry V. Levin --- libdwfl/debuginfod-client.c | 8 1 file changed,