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

Issue 10923003: Extend grokdump.py with simple BreakPad symbol files support. (Closed)

Created:
8 years, 3 months ago by Vyacheslav Egorov (Google)
Modified:
8 years, 2 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Extend grokdump.py with simple BreakPad symbol files support. R=mstarzinger@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=12620

Patch Set 1 #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -2 lines) Patch
M tools/grokdump.py View 12 chunks +127 lines, -2 lines 14 comments Download

Messages

Total messages: 3 (0 generated)
Vyacheslav Egorov (Google)
8 years, 3 months ago (2012-09-13 14:23:27 UTC) #1
Michael Starzinger
LGTM (with a few comments about the printed output and the usual nits). https://chromiumcodereview.appspot.com/10923003/diff/1/tools/grokdump.py File ...
8 years, 3 months ago (2012-09-19 09:54:32 UTC) #2
Vyacheslav Egorov (Google)
8 years, 2 months ago (2012-09-26 12:48:57 UTC) #3
thanks for the review. 

addressed comments. landing.

https://chromiumcodereview.appspot.com/10923003/diff/1/tools/grokdump.py
File tools/grokdump.py (right):

https://chromiumcodereview.appspot.com/10923003/diff/1/tools/grokdump.py#newc...
tools/grokdump.py:36: import disasm
On 2012/09/19 09:54:32, Michael Starzinger wrote:
> I know you didn't touch, but can we alpha-sort the imports?

Done.

https://chromiumcodereview.appspot.com/10923003/diff/1/tools/grokdump.py#newc...
tools/grokdump.py:709: result = re.match(r"^FUNC ([a-f0-9]+) ([a-f0-9]+)
([a-f0-9]+) (.*)$", line)
On 2012/09/19 09:54:32, Michael Starzinger wrote:
> More than 80 characters.

Done.

https://chromiumcodereview.appspot.com/10923003/diff/1/tools/grokdump.py#newc...
tools/grokdump.py:714: bisect.insort_left(self.symbols, FuncSymbol(baseaddr +
start, size, name))
On 2012/09/19 09:54:32, Michael Starzinger wrote:
> More than 80 characters.

Done.

https://chromiumcodereview.appspot.com/10923003/diff/1/tools/grokdump.py#newc...
tools/grokdump.py:1770: print
On 2012/09/19 09:54:32, Michael Starzinger wrote:
> Can we move this empty print to after the modules are printed?

I will add another one after modules. I like some empty lines, they make reading
easier.

https://chromiumcodereview.appspot.com/10923003/diff/1/tools/grokdump.py#newc...
tools/grokdump.py:1771: print "  Modules:"
On 2012/09/19 09:54:32, Michael Starzinger wrote:
> Lowercase "modules:" would be consistent with the rest of the exception info.

Done.

https://chromiumcodereview.appspot.com/10923003/diff/1/tools/grokdump.py#newc...
tools/grokdump.py:1789: print reader.FindSymbol(reader.ExceptionIP())
On 2012/09/19 09:54:32, Michael Starzinger wrote:
> This will print "None" when no symbol is found, can we skip printing in that
> case? I think the "None" in the output is confusing.

Done.

https://chromiumcodereview.appspot.com/10923003/diff/1/tools/grokdump.py#newc...
tools/grokdump.py:1824: maybe_symbol)
On 2012/09/19 09:54:32, Michael Starzinger wrote:
> Just use "maybe_symbol or ''" here and drop the if statement above.

Done.

Powered by Google App Engine
This is Rietveld 408576698