diff options
author | Dave Brolley <brolley@redhat.com> | 2009-07-02 11:53:49 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-07-02 11:53:49 -0400 |
commit | 22b631a3708bcd731bb99db6a3c78cbf2063c18e (patch) | |
tree | ccd13076e64a39c87b5035640ccc9a07e7f4daa8 /dwflpp.h | |
parent | 22e3ee0face9f1b470fa7089dc662adf75bba5bc (diff) | |
parent | 1c6b77e564d4d849f1994d56d662ceb018a112d4 (diff) | |
download | systemtap-steved-22b631a3708bcd731bb99db6a3c78cbf2063c18e.tar.gz systemtap-steved-22b631a3708bcd731bb99db6a3c78cbf2063c18e.tar.xz systemtap-steved-22b631a3708bcd731bb99db6a3c78cbf2063c18e.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'dwflpp.h')
-rw-r--r-- | dwflpp.h | 23 |
1 files changed, 1 insertions, 22 deletions
@@ -87,6 +87,7 @@ module_info info_status symtab_status; // symbol table cached? void get_symtab(dwarf_query *q); + void update_symtab(cu_function_cache_t *funcs); module_info(const char *name) : mod(NULL), @@ -128,28 +129,6 @@ struct func_info Dwarf_Addr entrypc; Dwarf_Addr prologue_end; bool weak; - - // Comparison functor for list of functions sorted by address. The - // two versions that take a Dwarf_Addr let us use the STL algorithms - // upper_bound, equal_range et al., but we don't know whether the - // searched-for value will be passed as the first or the second - // argument. - struct Compare - { - bool operator() (const func_info* f1, const func_info* f2) const - { - return f1->addr < f2->addr; - } - // For doing lookups by address. - bool operator() (Dwarf_Addr addr, const func_info* f2) const - { - return addr < f2->addr; - } - bool operator() (const func_info* f1, Dwarf_Addr addr) const - { - return f1->addr < addr; - } - }; }; |