https://sourceware.org/bugzilla/show_bug.cgi?id=24856
Bug ID: 24856 Summary: dwarf_diename() cannot get correct name Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: critical Priority: P2 Component: libdw Assignee: unassigned at sourceware dot org Reporter: changbin.du at gmail dot com CC: elfutils-devel at sourceware dot org Target Milestone: --- Created attachment 11923 --> https://sourceware.org/bugzilla/attachment.cgi?id=11923&action=edit object file The allfcts get all symbols as the same name. elfutils/tests$ ./allfcts ../../linux/kernel/iomem.o kernel/iomem.c:162:x86_coreid_bits kernel/iomem.c:139:x86_coreid_bits kernel/iomem.c:134:x86_coreid_bits kernel/iomem.c:129:x86_coreid_bits kernel/iomem.c:122:x86_coreid_bits kernel/iomem.c:71:x86_coreid_bits kernel/iomem.c:30:x86_coreid_bits kernel/iomem.c:16:x86_coreid_bits ./include/linux/mm.h:626:x86_coreid_bits ./include/linux/device.h:1105:x86_coreid_bits ./include/linux/mmzone.h:1297:x86_coreid_bits ./include/linux/mmzone.h:1262:x86_coreid_bits ./include/linux/mmzone.h:1212:x86_coreid_bits ./include/linux/mmzone.h:1151:x86_coreid_bits ./include/linux/page-flags.h:372:x86_coreid_bits ./include/linux/err.h:24:x86_coreid_bits But dwfl API works: elfutils/tests$ ./funcretval -e ../../linux/kernel/iomem.o () devm_memunmap: returns no value () devm_memremap: return value location: {0x50, 0} () devm_memremap_match: return value location: {0x50, 0} () devm_memremap_release: returns no value () memunmap: returns no value () memremap: return value location: {0x50, 0} () try_ram_remap: return value location: {0x50, 0} () arch_memremap_wb: return value location: {0x50, 0} () is_vmalloc_addr: return value location: {0x50, 0} () dev_to_node: return value location: {0x50, 0} () pfn_valid: return value location: {0x50, 0} () valid_section: return value location: {0x50, 0} () __nr_to_section: return value location: {0x50, 0} () pfn_to_section_nr: return value location: {0x50, 0} () PageHighMem: return value location: {0x50, 0} () ERR_PTR: return value location: {0x50, 0} -- You are receiving this mail because: You are on the CC list for the bug.