aboutsummaryrefslogtreecommitdiff
path: root/src/common/dwarf/dwarf2diehandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/dwarf/dwarf2diehandler.cc')
-rw-r--r--src/common/dwarf/dwarf2diehandler.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/dwarf/dwarf2diehandler.cc b/src/common/dwarf/dwarf2diehandler.cc
index d9abe958..16399547 100644
--- a/src/common/dwarf/dwarf2diehandler.cc
+++ b/src/common/dwarf/dwarf2diehandler.cc
@@ -183,4 +183,14 @@ void DIEDispatcher::ProcessAttributeString(uint64 offset,
current.handler_->ProcessAttributeString(attr, form, data);
}
+void DIEDispatcher::ProcessAttributeSignature(uint64 offset,
+ enum DwarfAttribute attr,
+ enum DwarfForm form,
+ uint64 signature) {
+ HandlerStack &current = die_handlers_.top();
+ // This had better be an attribute of the DIE we were meant to handle.
+ assert(offset == current.offset_);
+ current.handler_->ProcessAttributeSignature(attr, form, signature);
+}
+
} // namespace dwarf2reader