diff options
author | bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-12-08 04:13:51 +0000 |
---|---|---|
committer | bryner <bryner@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-12-08 04:13:51 +0000 |
commit | f33b8d2d07a057fdd667c2e0db629ba7cbc37cc3 (patch) | |
tree | 07ea0ac380d1f401750f7f9cea85907064e037f3 /src/google_airbag/processor/call_stack.h | |
parent | Allow exception handler callbacks more flexibility (#81). r=bryner (diff) | |
download | breakpad-f33b8d2d07a057fdd667c2e0db629ba7cbc37cc3.tar.xz |
Provide a mechanism for SymbolSuppliers to interrupt processing (#93)
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@80 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/google_airbag/processor/call_stack.h')
-rw-r--r-- | src/google_airbag/processor/call_stack.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/google_airbag/processor/call_stack.h b/src/google_airbag/processor/call_stack.h index 580d4927..d938944e 100644 --- a/src/google_airbag/processor/call_stack.h +++ b/src/google_airbag/processor/call_stack.h @@ -56,17 +56,18 @@ template<typename T> class linked_ptr; class CallStack { public: + CallStack() { Clear(); } ~CallStack(); + // Resets the CallStack to its initial empty state + void Clear(); + const vector<StackFrame*>* frames() const { return &frames_; } private: // Stackwalker is responsible for building the frames_ vector. friend class Stackwalker; - // Disallow instantiation other than by friends. - CallStack() : frames_() {} - // Storage for pushed frames. vector<StackFrame*> frames_; }; |