Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1674)

Unified Diff: src/processor/stackwalk_common.cc

Issue 1650713002: Added a switch to dump minidump modules in minidump_stackwalk. (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/processor/stackwalk_common.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/processor/stackwalk_common.cc
diff --git a/src/processor/stackwalk_common.cc b/src/processor/stackwalk_common.cc
index dd529fdbdf872bc2aab338a14f2549e90da522e6..5cbcd27a10c896ba6e8f358287544367011a19f4 100644
--- a/src/processor/stackwalk_common.cc
+++ b/src/processor/stackwalk_common.cc
@@ -926,4 +926,13 @@ void PrintProcessStateMachineReadable(const ProcessState& process_state) {
}
}
+void PrintProcessModules(const ProcessState& process_state) {
+ const CodeModules* modules = process_state.modules();
+ const unsigned int module_count = modules->module_count();
+ for (unsigned int i = 0; i < module_count; ++i) {
+ const CodeModule* module = modules->GetModuleAtSequence(i);
+ printf("%s\n", module->code_file().c_str());
+ }
+}
+
} // namespace google_breakpad
« no previous file with comments | « src/processor/stackwalk_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698