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

Issue 1369233003: [mac] Teach dump_syms to handle additional zerofill sections (Closed)

Created:
5 years, 2 months ago by labath
Modified:
5 years, 2 months ago
CC:
google-breakpad-dev_googlegroups.com, erikchen
Base URL:
https://chromium.googlesource.com/breakpad/breakpad@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[mac] Teach dump_syms to handle additional zerofill sections This patch allows dump_syms to handle S_THREAD_LOCAL_ZEROFILL and S_GB_ZEROFILL section in the same way as the more common S_ZEROFILL section. Previously, dump_syms would fail to dump a binary containing a __DATA,__thread_bss section, because it tried to look up its data (and failed). R=mark@chromium.org Committed: https://chromium.googlesource.com/breakpad/breakpad/+/cc7b69a8f29d67e2eba25e1658df54dd69ec1e54

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M src/common/mac/macho_reader.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
labath
5 years, 2 months ago (2015-09-28 13:07:01 UTC) #2
erikchen
+mark, who is a much better reviewer for this code.
5 years, 2 months ago (2015-09-28 17:28:04 UTC) #4
Mark Mentovai
https://codereview.chromium.org/1369233003/diff/1/src/common/mac/macho_reader.cc File src/common/mac/macho_reader.cc (right): https://codereview.chromium.org/1369233003/diff/1/src/common/mac/macho_reader.cc#newcode1 src/common/mac/macho_reader.cc:1: // Copyright (c) 2010, Google Inc. In the CL ...
5 years, 2 months ago (2015-09-28 17:59:20 UTC) #5
labath
I've updated the commit message, added S_GB_ZEROFILL and reformatted the code. Please take another look.
5 years, 2 months ago (2015-09-29 08:50:14 UTC) #6
Mark Mentovai
LG otherwise https://codereview.chromium.org/1369233003/diff/1/src/common/mac/macho_reader.cc File src/common/mac/macho_reader.cc (right): https://codereview.chromium.org/1369233003/diff/1/src/common/mac/macho_reader.cc#newcode1 src/common/mac/macho_reader.cc:1: // Copyright (c) 2010, Google Inc. Mark ...
5 years, 2 months ago (2015-09-29 12:55:12 UTC) #7
labath
description updated
5 years, 2 months ago (2015-09-29 13:04:18 UTC) #8
Mark Mentovai
LGTM
5 years, 2 months ago (2015-09-29 13:12:27 UTC) #9
labath
I am unsure how I am supposed to commit this. I tried following the generic ...
5 years, 2 months ago (2015-09-30 10:58:28 UTC) #12
Mark Mentovai
5 years, 2 months ago (2015-09-30 12:20:48 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
cc7b69a8f29d67e2eba25e1658df54dd69ec1e54 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698