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

Issue 70001: Breakpad Mac Dumper: Fix compilation warnings on OS X 10.6 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by jimb
Modified:
13 years, 11 months ago
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Description

Breakpad's Macintosh symbol dumper uses deprecated functions for
dealing with mixed-endianness code. This patch provides an overloaded
function, ByteSwap, that automatically chooses the CFSwap* functions
from <CoreFoundation/CFByteOrder.h> appropriate for its argument's
size.

Patch Set 1 #

Patch Set 2 : Breakpad Mac Dumper: Fix compilation warnings on OS X 10.6 #

Total comments: 5

Patch Set 3 : Breakpad Mac Dumper: Fix compilation warnings on OS X 10.6 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
A src/common/mac/byteswap.h View 1 2 1 chunk +48 lines, -0 lines 1 comment Download
M src/common/mac/macho_utilities.cc View 1 chunk +30 lines, -29 lines 0 comments Download
M src/common/mac/macho_walker.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/tools/mac/dump_syms/dump_syms.xcodeproj/project.pbxproj View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9
jimb
Hi, Neal. Don't mean to spam you with reviews; please feel free to reassign as ...
14 years, 1 month ago #1
jimb
By the way, the new Mac dumper patches I've just gotten working (sort of) obsolete ...
14 years ago #2
jimb
This one's ready to be reviewed now.
14 years ago #3
jimb
Added thestig as reviewer.
13 years, 12 months ago #4
Lei Zhang (chromium)
Punting to Mark. Looks ok to me, but I know nothing about CFSwapInt and NXSwap.
13 years, 12 months ago #5
Mark Mentovai
lgo http://breakpad.appspot.com/70001/diff/4001/5001 File src/common/mac/byteswap.h (right): http://breakpad.appspot.com/70001/diff/4001/5001#newcode36 Line 36: #ifndef COMMON_MAC_BYTESWAPP_H_ Extra pee? http://breakpad.appspot.com/70001/diff/4001/5001#newcode39 Line 39: ...
13 years, 12 months ago #6
jimb
http://breakpad.appspot.com/70001/diff/4001/5001 File src/common/mac/byteswap.h (right): http://breakpad.appspot.com/70001/diff/4001/5001#newcode39 Line 39: #include <CoreFoundation/CFByteOrder.h> On 2010/04/27 18:49:29, Mark Mentovai wrote: ...
13 years, 12 months ago #7
Mark Mentovai
Excellent. LGTM. http://breakpad.appspot.com/70001/diff/17001/18001 File src/common/mac/byteswap.h (right): http://breakpad.appspot.com/70001/diff/17001/18001#newcode39 Line 39: #include <libkern/OSByteOrder.h> Update the change description ...
13 years, 12 months ago #8
jimb
13 years, 11 months ago #9
Committed, r589.
Sign in to reply to this message.

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