summaryrefslogtreecommitdiffstats
path: root/dwarf_wrappers.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-08-07 18:51:19 -0700
committerJosh Stone <jistone@redhat.com>2009-08-07 18:51:19 -0700
commit23d106b9c554c2b32dfb8c94dc963834f65ef7df (patch)
tree2ab11874847b184da624c2c4d1397b7b35ca94c4 /dwarf_wrappers.cxx
parent37c74d4bd7317033fcc30148358b7936ffd8b11a (diff)
downloadsystemtap-steved-23d106b9c554c2b32dfb8c94dc963834f65ef7df.tar.gz
systemtap-steved-23d106b9c554c2b32dfb8c94dc963834f65ef7df.tar.xz
systemtap-steved-23d106b9c554c2b32dfb8c94dc963834f65ef7df.zip
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.
Diffstat (limited to 'dwarf_wrappers.cxx')
-rw-r--r--dwarf_wrappers.cxx11
1 files changed, 0 insertions, 11 deletions
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 : */