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

Unified Diff: src/processor/minidump.cc

Issue 2029953003: Adding support for overlapping ranges to RangeMap. (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Addressing code review comments Created 4 years, 7 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
Index: src/processor/minidump.cc
diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc
index 84f013d061a5f668c19886c72d5b1b2a3b621a6c..1806389b7010812129263aca2281943fb3bb0132 100644
--- a/src/processor/minidump.cc
+++ b/src/processor/minidump.cc
@@ -2672,7 +2672,7 @@ const MinidumpModule* MinidumpModuleList::GetModuleForAddress(
}
unsigned int module_index;
- if (!range_map_->RetrieveRange(address, &module_index, NULL, NULL)) {
+ if (!range_map_->RetrieveRange(address, &module_index, NULL, NULL, NULL)) {
mmandlis 2016/06/02 23:50:59 nit - please, add comments for the NULL parameters
BPLOG(INFO) << "MinidumpModuleList has no module at " <<
HexString(address);
return NULL;
@@ -2708,7 +2708,8 @@ const MinidumpModule* MinidumpModuleList::GetModuleAtSequence(
}
unsigned int module_index;
- if (!range_map_->RetrieveRangeAtIndex(sequence, &module_index, NULL, NULL)) {
+ if (!range_map_->RetrieveRangeAtIndex(sequence, &module_index, NULL, NULL,
+ NULL)) {
BPLOG(ERROR) << "MinidumpModuleList has no module at sequence " << sequence;
return NULL;
}
@@ -2923,7 +2924,7 @@ MinidumpMemoryRegion* MinidumpMemoryList::GetMemoryRegionForAddress(
}
unsigned int region_index;
- if (!range_map_->RetrieveRange(address, &region_index, NULL, NULL)) {
+ if (!range_map_->RetrieveRange(address, &region_index, NULL, NULL, NULL)) {
BPLOG(INFO) << "MinidumpMemoryList has no memory region at " <<
HexString(address);
return NULL;
@@ -4027,7 +4028,7 @@ const MinidumpMemoryInfo* MinidumpMemoryInfoList::GetMemoryInfoForAddress(
}
unsigned int info_index;
- if (!range_map_->RetrieveRange(address, &info_index, NULL, NULL)) {
+ if (!range_map_->RetrieveRange(address, &info_index, NULL, NULL, NULL)) {
BPLOG(INFO) << "MinidumpMemoryInfoList has no memory info at " <<
HexString(address);
return NULL;

Powered by Google App Engine
This is Rietveld 408576698