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/stackwalker.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/stackwalker.h')
-rw-r--r-- | src/google_airbag/processor/stackwalker.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/google_airbag/processor/stackwalker.h b/src/google_airbag/processor/stackwalker.h index b3f2333e..70da125e 100644 --- a/src/google_airbag/processor/stackwalker.h +++ b/src/google_airbag/processor/stackwalker.h @@ -61,10 +61,11 @@ class Stackwalker { public: virtual ~Stackwalker() {} - // Creates a new CallStack and populates it by calling GetContextFrame and + // Populates the given CallStack by calling GetContextFrame and // GetCallerFrame. The frames are further processed to fill all available - // data. The caller takes ownership of the CallStack returned by Walk. - CallStack* Walk(); + // data. Returns true if the stackwalk completed, or false if it was + // interrupted by SymbolSupplier::GetSymbolFile(). + bool Walk(CallStack *stack); // Returns a new concrete subclass suitable for the CPU that a stack was // generated on, according to the CPU type indicated by the context |