summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2011-01-20 16:23:48 +0100
committerMark Wielaard <[email protected]>2011-03-16 15:05:27 +0100
commit18804275adb5dfbb9ba17322de9f6a17c38c2f04 (patch)
tree8cf3fb2ccbdbf1a702d36df190f706a6f93122e0
parent4a5f27364dcd30d43c49ac7292e29cd7cf7530d8 (diff)
Turn copier::entry into a value_reference so what_space works on it.
copier::entry is used as a value_reference when an attr_value has a dangling reference to a DIE not yet built in the output. So make sure its type matches that usage.
-rw-r--r--libdw/c++/dwarf_output2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdw/c++/dwarf_output b/libdw/c++/dwarf_output
index d9852535..970d991a 100644
--- a/libdw/c++/dwarf_output
+++ b/libdw/c++/dwarf_output
@@ -1511,7 +1511,7 @@ namespace elfutils
built in the output has one of these in place of a value_reference.
These all live in the _m_entries map, one per input-side DIE. */
struct entry
- : public value::value_dispatch
+ : public value::value_reference
{
::Dwarf_Off _m_offset; // For debugging and statistics only.
::Dwarf_Off _m_cost; // For statistics only.