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

Issue 155437: Implement shared libraries logging on Mac OS X, added required support in Tick Processor. (Closed)

Created:
11 years, 5 months ago by Mikhail Naganov
Modified:
9 years, 7 months ago
Reviewers:
iposva
CC:
v8-dev
Visibility:
Public.

Description

Implement shared libraries logging on Mac OS X, added required support in Tick Processor. Committed: http://code.google.com/p/v8/source/detail?r=2452

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -7 lines) Patch
M src/platform-macos.cc View 2 chunks +14 lines, -1 line 4 comments Download
A tools/mac-nm View 1 chunk +7 lines, -0 lines 2 comments Download
A tools/mac-tick-processor View 1 chunk +4 lines, -0 lines 2 comments Download
M tools/tickprocessor.js View 3 chunks +22 lines, -4 lines 0 comments Download
M tools/tickprocessor-driver.js View 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mikhail Naganov
Hi Ivan, I remember you asked me once about support for shared libraries logging on ...
11 years, 5 months ago (2009-07-13 20:02:38 UTC) #1
iposva
LGTM with small comments. -Ivan http://codereview.chromium.org/155437/diff/1/2 File src/platform-macos.cc (right): http://codereview.chromium.org/155437/diff/1/2#newcode212 Line 212: const mach_header *header ...
11 years, 5 months ago (2009-07-13 20:18:21 UTC) #2
Mikhail Naganov
11 years, 5 months ago (2009-07-14 05:00:42 UTC) #3
Thanks, Ivan!

http://codereview.chromium.org/155437/diff/1/2
File src/platform-macos.cc (right):

http://codereview.chromium.org/155437/diff/1/2#newcode212
Line 212: const mach_header *header = _dyld_get_image_header(i);
On 2009/07/13 20:18:21, iposva wrote:
> The correct style is "mach_header* header".

Done.

http://codereview.chromium.org/155437/diff/1/2#newcode215
Line 215: char *code_ptr;
On 2009/07/13 20:18:21, iposva wrote:
> The correct style is "char* code_ptr".
> 
> I also assume that you did not assign at the declaration because that would
have
> run over the line length?

No, it's just a lack of attention. Fixed, thanks!

http://codereview.chromium.org/155437/diff/1/3
File tools/mac-nm (right):

http://codereview.chromium.org/155437/diff/1/3#newcode6
Line 6: nm $@ | c++filt -p -i
On 2009/07/13 20:18:21, iposva wrote:
> How about adding comments what the parameters to c++filt mean? And an overall
> comment what this script tries to achieve? Thanks!

Added comments.

http://codereview.chromium.org/155437/diff/1/4
File tools/mac-tick-processor (right):

http://codereview.chromium.org/155437/diff/1/4#newcode2
Line 2: 
On 2009/07/13 20:18:21, iposva wrote:
> Maybe a small comment what this driver script tries to do?

Done.

Powered by Google App Engine
This is Rietveld 408576698