summaryrefslogtreecommitdiffstats
path: root/dwflpp.h
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-11-16 10:02:50 +0100
committerMark Wielaard <mjw@redhat.com>2009-11-16 10:47:38 +0100
commit228af5c49c06079e6bfe1daa64ead51b1dc979c7 (patch)
tree006a8c43562f1170ceda08b4584ca318f0b0b746 /dwflpp.h
parent7b76473cbad92366721defee51d93396cb101134 (diff)
downloadsystemtap-steved-228af5c49c06079e6bfe1daa64ead51b1dc979c7.tar.gz
systemtap-steved-228af5c49c06079e6bfe1daa64ead51b1dc979c7.tar.xz
systemtap-steved-228af5c49c06079e6bfe1daa64ead51b1dc979c7.zip
PR10622 Search for extern $variables in symbol table.
* dwflpp.h (vardie_from_symtable): New method. * dwflpp.cxx (vardie_from_symtable): New method. (literal_stmt_for_local): Use vardie_from_symtable when no location attribute and DW_AT_external. * testsuite/buildok/xtime.stp: New testcase from PR10622.
Diffstat (limited to 'dwflpp.h')
-rw-r--r--dwflpp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwflpp.h b/dwflpp.h
index 226b84d8..b3f71eb2 100644
--- a/dwflpp.h
+++ b/dwflpp.h
@@ -394,6 +394,7 @@ private:
// Returns the call frame address operations for the given program counter.
Dwarf_Op *get_cfa_ops (Dwarf_Addr pc);
+ Dwarf_Addr vardie_from_symtable(Dwarf_Die *vardie, Dwarf_Addr *addr);
};
#endif // DWFLPP_H