Index: src/processor/minidump_processor.cc |
diff --git a/src/processor/minidump_processor.cc b/src/processor/minidump_processor.cc |
index 06a8916d34fefec00280b6188e8e30684adfbbd8..3ff19518ce4c7828a73d564dec85cea5f36a137f 100644 |
--- a/src/processor/minidump_processor.cc |
+++ b/src/processor/minidump_processor.cc |
@@ -126,8 +126,20 @@ ProcessResult MinidumpProcessor::Process( |
// Put a copy of the module list into ProcessState object. This is not |
// necessarily a MinidumpModuleList, but it adheres to the CodeModules |
// interface, which is all that ProcessState needs to expose. |
- if (module_list) |
+ if (module_list) { |
process_state->modules_ = module_list->Copy(); |
+ process_state->shrunk_range_modules_ = |
+ process_state->modules_->GetShrunkRangeModules(); |
+ for (unsigned int i = 0; |
+ i < process_state->shrunk_range_modules_.size(); |
+ i++) { |
+ linked_ptr<const CodeModule> module = |
+ process_state->shrunk_range_modules_[i]; |
+ BPLOG(INFO) << "The range for module " << module->code_file() |
+ << " was shrunk down by " << HexString( |
+ module->shrink_down_delta()) << " bytes. "; |
+ } |
+ } |
MinidumpMemoryList *memory_list = dump->GetMemoryList(); |
if (memory_list) { |