Index: src/google_breakpad/processor/code_modules.h |
diff --git a/src/google_breakpad/processor/code_modules.h b/src/google_breakpad/processor/code_modules.h |
index a38579af6d1ff8f03a050bc6d7aa878a94ec92eb..509137cbbe998bb887ac86574834eb0a598da502 100644 |
--- a/src/google_breakpad/processor/code_modules.h |
+++ b/src/google_breakpad/processor/code_modules.h |
@@ -35,7 +35,12 @@ |
#ifndef GOOGLE_BREAKPAD_PROCESSOR_CODE_MODULES_H__ |
#define GOOGLE_BREAKPAD_PROCESSOR_CODE_MODULES_H__ |
+#include <stddef.h> |
+ |
+#include <vector> |
+ |
#include "google_breakpad/common/breakpad_types.h" |
+#include "processor/linked_ptr.h" |
namespace google_breakpad { |
@@ -91,6 +96,14 @@ class CodeModules { |
// returns objects in may differ between a copy and the original CodeModules |
// object. |
virtual const CodeModules* Copy() const = 0; |
+ |
+ // Returns a vector of all modules which address ranges needed to be shrunk |
+ // down due to address range conflicts with other modules. |
+ virtual std::vector<linked_ptr<const CodeModule> > |
+ GetShrunkRangeModules() const = 0; |
+ |
+ // Returns true, if module address range shrink is enabled. |
+ virtual bool IsModuleShrinkEnabled() const = 0; |
}; |
} // namespace google_breakpad |