diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-10-23 19:24:58 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-10-23 19:24:58 +0000 |
commit | d119a921ea611dc38cfcb7411759ddf2c688603f (patch) | |
tree | 392d79dada82458d74b010a4974ca09cb204211c /src/processor/source_line_resolver.h | |
parent | Update comments to reflect HTTPS support, r=mark. (diff) | |
download | breakpad-d119a921ea611dc38cfcb7411759ddf2c688603f.tar.xz |
Make stack_frame_info vector hold linked_ptrs instead of objects;
make Stackwalker::Walk create and return a CallStack instead of filling a
caller-supplied one (#54). r=bryner
Interface change: Stackwalker::Walk and MinidumpProcessor::Process now return
a new CallStack*.
http://groups.google.com/group/airbag-dev/browse_thread/thread/d2bad5d7c115c3fe
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@45 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/source_line_resolver.h')
-rw-r--r-- | src/processor/source_line_resolver.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/processor/source_line_resolver.h b/src/processor/source_line_resolver.h index f0d1e54b..cf93c69e 100644 --- a/src/processor/source_line_resolver.h +++ b/src/processor/source_line_resolver.h @@ -66,8 +66,11 @@ class SourceLineResolver { // Fills in the function_base, function_name, source_file_name, // and source_line fields of the StackFrame. The instruction and // module_name fields must already be filled in. Additional debugging - // information, if available, is placed in frame_info. - void FillSourceLineInfo(StackFrame *frame, StackFrameInfo *frame_info) const; + // information, if available, is returned. If the information is not + // available, returns NULL. A NULL return value does not indicate an + // error. The caller takes ownership of any returned StackFrameInfo + // object. + StackFrameInfo* FillSourceLineInfo(StackFrame *frame) const; private: template<class T> class MemAddrMap; |