diff options
author | Mark Wielaard <[email protected]> | 2011-02-23 19:59:41 +0100 |
---|---|---|
committer | Mark Wielaard <[email protected]> | 2011-02-23 19:59:41 +0100 |
commit | e32d29230d09fb24c2a0a58ed0633a9651d1386d (patch) | |
tree | 9badb12482cfdc24473956a276a8b4c3326647bf | |
parent | 7e48eaf8f68fa9261947356d3cd7db5cf704d0f3 (diff) |
We relied on the *info () hack in dwarf_output, so put it back for now.
-rw-r--r-- | libdw/c++/dwarf_output | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libdw/c++/dwarf_output b/libdw/c++/dwarf_output index 119221c1..e792a929 100644 --- a/libdw/c++/dwarf_output +++ b/libdw/c++/dwarf_output @@ -151,6 +151,12 @@ namespace elfutils friend class dwarf_output; friend class dwarf_output_collector; + __attribute__((used)) die_info_pair *info () const + { + return reinterpret_cast<die_info_pair *> + (const_cast<debug_info_entry *> (this)); + } + public: class attributes_type : public dwarf_data::attributes_type<dwarf_output, value> |