mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-12 12:26:27 +00:00
Add stack contents output functionality to minidump_stackwalk
This feature is enabled only when "-s" is provided as a commandline option. minidump_stackwalk.cc: - Add a new commandline option "-s" to output stack contents. - Instantiate Minidump object in PrintMinidumpProcess() to keep it alive longer so that accessing process_state.thread_memory_regions() in stackwalk_common.cc doesn't result in use-after-free. stackwalk_common.cc: - Add a new function PrintStackContents() to output stack contents. R=mark@chromium.org Review URL: https://breakpad.appspot.com/9774002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1429 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -37,9 +37,12 @@
|
||||
namespace google_breakpad {
|
||||
|
||||
class ProcessState;
|
||||
class SourceLineResolverInterface;
|
||||
|
||||
void PrintProcessStateMachineReadable(const ProcessState& process_state);
|
||||
void PrintProcessState(const ProcessState& process_state);
|
||||
void PrintProcessState(const ProcessState& process_state,
|
||||
bool output_stack_contents,
|
||||
SourceLineResolverInterface* resolver);
|
||||
|
||||
} // namespace google_breakpad
|
||||
|
||||
|
||||
Reference in New Issue
Block a user