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

Issue 2029953003: Adding support for overlapping ranges to RangeMap. (Closed)

Created:
4 years, 6 months ago by ivanpe
Modified:
4 years, 6 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
https://chromium.googlesource.com/breakpad/breakpad.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Adding support for overlapping ranges to RangeMap. When enabled, adding of a new range that overlaps with an existing one can be a successful operation. The range which ends at the higher address will be shrunk down by moving its start position to a higher address so that it does not overlap anymore. This change is required to fix http://crbug/611824. The actual fix will come in a separate CL. R=mmandlis@chromium.org Committed: https://chromium.googlesource.com/breakpad/breakpad/+/240ed57ee1ac6a87b91526b8331717d494801826

Patch Set 1 #

Total comments: 18

Patch Set 2 : Addressing code review comments #

Total comments: 23

Patch Set 3 : Addressing Maria's comments. #

Patch Set 4 : Missed a few cases. #

Total comments: 4

Patch Set 5 : Adding a missing test case. #

Patch Set 6 : Last patch set after git pull. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+598 lines, -89 lines) Patch
M Makefile.am View 2 chunks +11 lines, -0 lines 0 comments Download
M Makefile.in View 1 10 chunks +56 lines, -0 lines 0 comments Download
M src/processor/basic_code_modules.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M src/processor/basic_code_modules.cc View 1 2 3 3 chunks +8 lines, -11 lines 0 comments Download
M src/processor/basic_source_line_resolver.cc View 1 2 4 chunks +9 lines, -8 lines 0 comments Download
M src/processor/microdump.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/processor/minidump.cc View 1 2 3 4 chunks +9 lines, -4 lines 0 comments Download
M src/processor/processor.gyp View 2 chunks +2 lines, -1 line 0 comments Download
M src/processor/range_map.h View 1 2 3 4 4 chunks +47 lines, -19 lines 0 comments Download
M src/processor/range_map-inl.h View 1 2 3 8 chunks +85 lines, -38 lines 0 comments Download
A src/processor/range_map_shrink_down_unittest.cc View 1 2 3 4 1 chunk +355 lines, -0 lines 0 comments Download
M src/processor/range_map_unittest.cc View 1 2 5 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
ivanpe
4 years, 6 months ago (2016-06-02 21:00:25 UTC) #3
Mark Mentovai
I’m going on vacation for about a week, and won’t be able to do follow-ups ...
4 years, 6 months ago (2016-06-02 21:43:53 UTC) #4
ivanpe
Done. PTAL. https://codereview.chromium.org/2029953003/diff/1/aclocal.m4 File aclocal.m4 (right): https://codereview.chromium.org/2029953003/diff/1/aclocal.m4#newcode1 aclocal.m4:1: # generated automatically by aclocal 1.14.1 -*- ...
4 years, 6 months ago (2016-06-02 22:54:02 UTC) #5
ivanpe
On 2016/06/02 22:54:02, ivanpe wrote: > Done. PTAL. > > https://codereview.chromium.org/2029953003/diff/1/aclocal.m4 > File aclocal.m4 (right): ...
4 years, 6 months ago (2016-06-02 22:56:03 UTC) #6
mmandlis
https://codereview.chromium.org/2029953003/diff/20001/src/processor/basic_source_line_resolver.cc File src/processor/basic_source_line_resolver.cc (right): https://codereview.chromium.org/2029953003/diff/20001/src/processor/basic_source_line_resolver.cc#newcode214 src/processor/basic_source_line_resolver.cc:214: if (func->lines.RetrieveRange(address, &line, &line_base, NULL, NULL)) { please, add ...
4 years, 6 months ago (2016-06-02 23:50:59 UTC) #7
Mark Mentovai
Thanks! I won’t be able to make another pass before my trip, but I see ...
4 years, 6 months ago (2016-06-03 00:30:13 UTC) #8
ivanpe
Done. PTAL. https://codereview.chromium.org/2029953003/diff/20001/src/processor/basic_source_line_resolver.cc File src/processor/basic_source_line_resolver.cc (right): https://codereview.chromium.org/2029953003/diff/20001/src/processor/basic_source_line_resolver.cc#newcode214 src/processor/basic_source_line_resolver.cc:214: if (func->lines.RetrieveRange(address, &line, &line_base, NULL, NULL)) { ...
4 years, 6 months ago (2016-06-03 03:56:56 UTC) #9
mmandlis
lgtm please, address comments before submitting. https://codereview.chromium.org/2029953003/diff/60001/src/processor/range_map.h File src/processor/range_map.h (right): https://codereview.chromium.org/2029953003/diff/60001/src/processor/range_map.h#newcode74 src/processor/range_map.h:74: // non-NULL, are ...
4 years, 6 months ago (2016-06-03 05:20:43 UTC) #10
ivanpe
On 2016/06/03 05:20:43, mmandlis wrote: > lgtm > > please, address comments before submitting. > ...
4 years, 6 months ago (2016-06-06 05:24:26 UTC) #11
ivanpe
https://codereview.chromium.org/2029953003/diff/60001/src/processor/range_map.h File src/processor/range_map.h (right): https://codereview.chromium.org/2029953003/diff/60001/src/processor/range_map.h#newcode74 src/processor/range_map.h:74: // non-NULL, are set to the base, delta, and ...
4 years, 6 months ago (2016-06-06 05:24:44 UTC) #12
ivanpe
4 years, 6 months ago (2016-06-06 05:41:19 UTC) #14
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
240ed57ee1ac6a87b91526b8331717d494801826 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698