Index: src/google_breakpad/processor/minidump.h |
diff --git a/src/google_breakpad/processor/minidump.h b/src/google_breakpad/processor/minidump.h |
index 2b5025e4ff55740dc9306e97d4068fd970f7e498..75a2645389bc2859771eba4c53f3ed7ae6107be3 100644 |
--- a/src/google_breakpad/processor/minidump.h |
+++ b/src/google_breakpad/processor/minidump.h |
@@ -392,7 +392,14 @@ class MinidumpModule : public MinidumpObject, |
virtual string debug_file() const; |
virtual string debug_identifier() const; |
virtual string version() const; |
- virtual const CodeModule* Copy() const; |
+ virtual CodeModule* Copy() const; |
+ |
+ // Getter and setter for shrink_down_delta. This is used when the address |
+ // range for a module is shrunk down due to address range conflicts with |
+ // other modules. The base_address and size fields are not updated and they |
+ // should always reflect the original values (reported in the minidump). |
+ virtual uint64_t shrink_down_delta() const; |
+ virtual void SetShrinkDownDelta(uint64_t shrink_down_delta); |
// The CodeView record, which contains information to locate the module's |
// debugging information (pdb). This is returned as uint8_t* because |
@@ -501,6 +508,10 @@ class MinidumpModuleList : public MinidumpStream, |
virtual const MinidumpModule* GetModuleAtIndex(unsigned int index) const; |
virtual const CodeModules* Copy() const; |
+ // Returns a vector of all modules which address ranges needed to be shrunk |
+ // down due to address range conflicts with other modules. |
+ virtual vector<linked_ptr<const CodeModule> > GetShrunkRangeModules() const; |
+ |
// Print a human-readable representation of the object to stdout. |
void Print(); |