diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-11-16 10:02:50 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-11-16 10:47:38 +0100 |
commit | 228af5c49c06079e6bfe1daa64ead51b1dc979c7 (patch) | |
tree | 006a8c43562f1170ceda08b4584ca318f0b0b746 /dwflpp.h | |
parent | 7b76473cbad92366721defee51d93396cb101134 (diff) | |
download | systemtap-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |