aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjessicag.feedback <jessicag.feedback@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-04-05 00:53:45 +0000
committerjessicag.feedback <jessicag.feedback@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-04-05 00:53:45 +0000
commit2652675ec2039749e5eea65611ff3a162921a2be (patch)
tree8c3feb11d4c5d8ecaec05268957357c8514f718f /src
parentTry to find a build-id through PT_NOTE program headers (diff)
downloadbreakpad-2652675ec2039749e5eea65611ff3a162921a2be.tar.xz
Turn off verbose logging but keep logic for future reference for debug logging.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1144 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-rw-r--r--src/processor/range_map-inl.h36
1 files changed, 23 insertions, 13 deletions
diff --git a/src/processor/range_map-inl.h b/src/processor/range_map-inl.h
index 3aa2603a..55dae839 100644
--- a/src/processor/range_map-inl.h
+++ b/src/processor/range_map-inl.h
@@ -72,12 +72,18 @@ bool RangeMap<AddressType, EntryType>::StoreRange(const AddressType &base,
// Some other range begins in the space used by this range. It may be
// contained within the space used by this range, or it may extend lower.
// Regardless, it is an error.
- AddressType other_base = iterator_base->second.base();
- AddressType other_size = iterator_base->first - other_base + 1;
- BPLOG(INFO) << "StoreRange failed, an existing range is contained by or "
- "extends lower than the new range: new " <<
- HexString(base) << "+" << HexString(size) << ", existing " <<
- HexString(other_base) << "+" << HexString(other_size);
+ // The processor hits this case too frequently with common symbol files.
+ // This is most appropriate for a DEBUG channel, but since none exists now
+ // simply comment out this logging.
+ //
+ // AddressType other_base = iterator_base->second.base();
+ // AddressType other_size = iterator_base->first - other_base + 1;
+ // BPLOG(INFO) << "StoreRange failed, an existing range is contained by or "
+ // "extends lower than the new range: new " <<
+ // HexString(base) << "+" << HexString(size) <<
+ // ", existing " << HexString(other_base) << "+" <<
+ // HexString(other_size);
+
return false;
}
@@ -86,13 +92,17 @@ bool RangeMap<AddressType, EntryType>::StoreRange(const AddressType &base,
// The range above this one overlaps with this one. It may fully
// contain this range, or it may begin within this range and extend
// higher. Regardless, it's an error.
- AddressType other_base = iterator_high->second.base();
- AddressType other_size = iterator_high->first - other_base + 1;
- BPLOG(INFO) << "StoreRange failed, an existing range contains or "
- "extends higher than the new range: new " <<
- HexString(base) << "+" << HexString(size) <<
- ", existing " <<
- HexString(other_base) << "+" << HexString(other_size);
+ // The processor hits this case too frequently with common symbol files.
+ // This is most appropriate for a DEBUG channel, but since none exists now
+ // simply comment out this logging.
+ //
+ // AddressType other_base = iterator_high->second.base();
+ // AddressType other_size = iterator_high->first - other_base + 1;
+ // BPLOG(INFO) << "StoreRange failed, an existing range contains or "
+ // "extends higher than the new range: new " <<
+ // HexString(base) << "+" << HexString(size) <<
+ // ", existing " << HexString(other_base) << "+" <<
+ // HexString(other_size);
return false;
}
}