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

Unified Diff: src/processor/basic_code_modules.h

Issue 2029953003: Adding support for overlapping ranges to RangeMap. (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: 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/basic_code_modules.h
diff --git a/src/processor/basic_code_modules.h b/src/processor/basic_code_modules.h
index ace569b8a7ad8aa9bdba67703a52b9cbfcd4ce10..01eac209304d0d5f90413f5909bc81884889c5e5 100644
--- a/src/processor/basic_code_modules.h
+++ b/src/processor/basic_code_modules.h
@@ -41,13 +41,14 @@
#ifndef PROCESSOR_BASIC_CODE_MODULES_H__
#define PROCESSOR_BASIC_CODE_MODULES_H__
+#include <cstddef>
Mark Mentovai 2016/06/02 21:43:53 Use <stddef.h> unless you want to call it std::uin
ivanpe 2016/06/02 22:54:02 Done.
+
#include "google_breakpad/processor/code_modules.h"
+#include "processor/linked_ptr.h"
+#include "processor/range_map.h"
namespace google_breakpad {
-template<typename T> class linked_ptr;
-template<typename AddressType, typename EntryType> class RangeMap;
-
class BasicCodeModules : public CodeModules {
public:
// Creates a new BasicCodeModules object given any existing CodeModules
@@ -75,7 +76,7 @@ class BasicCodeModules : public CodeModules {
// The map used to contain each CodeModule, keyed by each CodeModule's
// address range.
- RangeMap<uint64_t, linked_ptr<const CodeModule> > *map_;
+ RangeMap<uint64_t, linked_ptr<const CodeModule>> map_;
Mark Mentovai 2016/06/02 21:43:53 I’m not sure we can guarantee C++11 in here. If no
ivanpe 2016/06/02 22:54:02 Done.
private:
// Disallow copy constructor and assignment operator.

Powered by Google App Engine
This is Rietveld 408576698