Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(76)

Issue 64001: Fix to cache NOT_FOUND results from symbol supplier on a per-minidump basis (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 6 months ago by mochalatte
Modified:
14 years, 5 months ago
Reviewers:
brdevmn, Ted Mielczarek
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 6

Patch Set 2 : Code reviwe comments addressed #

Patch Set 3 : removed some commented out code #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/google_breakpad/processor/stackwalker.h View 1 3 chunks +8 lines, -2 lines 0 comments Download
M src/processor/minidump_processor_unittest.cc View 1 2 5 chunks +57 lines, -0 lines 0 comments Download
M src/processor/stackwalker.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4
mochalatte
Hi Michael, Ted This change fixes the stackwalker to cache the NOT_FOUND results from a ...
14 years, 6 months ago #1
brdevmn
LGTM
14 years, 6 months ago #2
Ted Mielczarek
LGTM aside from comments below. http://breakpad.appspot.com/64001/diff/1/4 File src/google_breakpad/processor/stackwalker.h (right): http://breakpad.appspot.com/64001/diff/1/4#newcode147 Line 147: set<const CodeModule*> no_symbol_modules_; ...
14 years, 6 months ago #3
mochalatte
14 years, 6 months ago #4
Thanks for the review - checked in after addressing all comments.

http://breakpad.appspot.com/64001/diff/1/4
File src/google_breakpad/processor/stackwalker.h (right):

http://breakpad.appspot.com/64001/diff/1/4#newcode147
Line 147: set<const CodeModule*> no_symbol_modules_;
On 2010/02/25 13:36:19, Ted Mielczarek wrote:
> It seems a little weird to be keying on a pointer value here. If someone made
a
> copy of a CodeModule (using Copy()), then the new module wouldn't be found
here.
> Why not key on a string and use module->code_file() instead?

Done.

http://breakpad.appspot.com/64001/diff/1/3
File src/processor/minidump_processor_unittest.cc (right):

http://breakpad.appspot.com/64001/diff/1/3#newcode165
Line 165: class CountingSymbolSupplier : public SymbolSupplier {
On 2010/02/25 13:36:19, Ted Mielczarek wrote:
> This feels like it'd be cleaner with a Mock class and some expectations.

Done.

http://breakpad.appspot.com/64001/diff/1/3#newcode248
Line 248: printf("%s: %d\n", it->first.c_str(), it->second);
On 2010/02/25 13:36:19, Ted Mielczarek wrote:
> Seems like unnecessary test spew.

removed
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted