dwarf_need_debug_names_section
if (dwarf_need_debug_names_section(dbg) == FALSE) {
if (dwarf_need_debug_names_section(dbg) == TRUE) {