From 23d106b9c554c2b32dfb8c94dc963834f65ef7df Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 7 Aug 2009 18:51:19 -0700 Subject: Zap dwarf_diename_integrate The dwarf_diename in elfutils learned a long time ago to use dwarf_attr_integrate when looking up the name. Our minimum elfutils 0.126 has this, so we don't need to kludge it ourselves. --- dwarf_wrappers.cxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'dwarf_wrappers.cxx') diff --git a/dwarf_wrappers.cxx b/dwarf_wrappers.cxx index d7183dc3..03979ca2 100644 --- a/dwarf_wrappers.cxx +++ b/dwarf_wrappers.cxx @@ -47,15 +47,4 @@ void dwfl_assert(const std::string& desc, bool condition) } -// Helper for dealing with selected portions of libdwfl in a more readable -// fashion, and with specific cleanup / checking / logging options. - -const char * -dwarf_diename_integrate (Dwarf_Die *die) -{ - Dwarf_Attribute attr_mem; - return dwarf_formstring (dwarf_attr_integrate (die, DW_AT_name, &attr_mem)); -} - - /* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ -- cgit