From f33b8d2d07a057fdd667c2e0db629ba7cbc37cc3 Mon Sep 17 00:00:00 2001 From: bryner Date: Fri, 8 Dec 2006 04:13:51 +0000 Subject: 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 --- src/google_airbag/processor/stackwalker.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/google_airbag/processor/stackwalker.h') 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 -- cgit v1.2.1