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

Unified Diff: src/google_breakpad/processor/code_modules.h

Issue 2060663002: Server-side workaround to handle overlapping modules. (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Fix whitespace. Created 4 years, 6 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
« no previous file with comments | « src/google_breakpad/processor/code_module.h ('k') | src/google_breakpad/processor/microdump.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/google_breakpad/processor/code_module.h ('k') | src/google_breakpad/processor/microdump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698