diff options
Diffstat (limited to 'src/google_breakpad/processor/source_line_resolver_interface.h')
-rw-r--r-- | src/google_breakpad/processor/source_line_resolver_interface.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/google_breakpad/processor/source_line_resolver_interface.h b/src/google_breakpad/processor/source_line_resolver_interface.h index a139cf07..27aa3c93 100644 --- a/src/google_breakpad/processor/source_line_resolver_interface.h +++ b/src/google_breakpad/processor/source_line_resolver_interface.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006, Google Inc. +// Copyright (c) 2006, Google Inc. -*- mode: C++ -*- // All rights reserved. // // Redistribution and use in source and binary forms, with or without @@ -65,12 +65,16 @@ class SourceLineResolverInterface { // 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 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 WindowsFrameInfo - // object. - virtual WindowsFrameInfo* FillSourceLineInfo(StackFrame *frame) const = 0; + // module_name fields must already be filled in. + virtual void FillSourceLineInfo(StackFrame *frame) const = 0; + + // If Windows stack walking information is available covering + // FRAME's instruction address, return a WindowsFrameInfo structure + // describing it. If the information is not available, returns NULL. + // A NULL return value does not indicate an error. The caller takes + // ownership of any returned WindowsFrameInfo object. + virtual WindowsFrameInfo *FindWindowsFrameInfo(const StackFrame *frame) + const = 0; protected: // SourceLineResolverInterface cannot be instantiated except by subclasses |