-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
.. _`sec:symtab-swk.h`: | ||
|
||
symtab-swk.h | ||
============ | ||
############ | ||
|
||
.. cpp:namespace:: Dyninst::Stackwalker | ||
|
||
.. cpp:namespace:: Dyninst::stackwalk | ||
.. cpp:class:: SymtabWrapper | ||
|
||
.. cpp:function:: protected SymtabWrapper() | ||
.. cpp:function:: static Symtab *getSymtab(std::string filename) | ||
.. cpp:function:: static void notifyOfSymtab(Symtab *symtab, std::string name) | ||
.. cpp:function:: ~SymtabWrapper() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,39 @@ | ||
.. _`sec:x86-swk.h`: | ||
|
||
x86-swk.h | ||
========= | ||
######### | ||
|
||
.. cpp:namespace:: Dyninst::Stackwalker | ||
|
||
.. cpp:class:: StepperWandererImpl : public FrameStepper | ||
|
||
.. cpp:member:: private WandererHelper *whelper | ||
.. cpp:member:: private FrameFuncHelper *fhelper | ||
.. cpp:member:: private StepperWanderer *parent | ||
.. cpp:function:: private bool getWord(Address &words, Address start) | ||
.. cpp:function:: StepperWandererImpl(Walker *walker_, StepperWanderer *parent_, WandererHelper *whelper_, FrameFuncHelper *fhelper_) | ||
.. cpp:function:: virtual gcframe_ret_t getCallerFrame(const Frame &in, Frame &out) | ||
.. cpp:function:: virtual unsigned getPriority() const | ||
.. cpp:function:: void registerStepperGroup(StepperGroup *group) | ||
.. cpp:function:: virtual const char *getName() const | ||
.. cpp:function:: virtual ~StepperWandererImpl() | ||
|
||
|
||
.. cpp:class:: LookupFuncStart : public FrameFuncHelper | ||
|
||
.. cpp:member:: private static std::map<Dyninst::PID, LookupFuncStart*> all_func_starts | ||
.. cpp:function:: private LookupFuncStart(ProcessState *proc_) | ||
.. cpp:member:: private int ref_count | ||
.. cpp:function:: private void updateCache(Address addr, alloc_frame_t result) | ||
.. cpp:function:: private bool checkCache(Address addr, alloc_frame_t &result) | ||
.. cpp:member:: private static const unsigned int cache_size = 64 | ||
|
||
.. cpp:namespace:: Dyninst::stackwalk | ||
We need some kind of re-entrant safe synhronization before we can | ||
globally turn this caching on, but it would sure help things. | ||
|
||
.. cpp:member:: private LRUCache<Address, alloc_frame_t> cache | ||
.. cpp:function:: static LookupFuncStart *getLookupFuncStart(ProcessState *p) | ||
.. cpp:function:: void releaseMe() | ||
.. cpp:function:: virtual alloc_frame_t allocatesFrame(Address addr) | ||
.. cpp:function:: ~LookupFuncStart() | ||
.. cpp:function:: static void clear_func_mapping(Dyninst::PID) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters