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

Issue 130001: Cleans up mac projects, and builds everything 64 bit (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by dmaclach
Modified:
14 years, 4 months ago
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Added a few more unittests, and cleaned them up as well. #

Total comments: 14

Patch Set 3 : Applied fixes based on Mark's review #

Total comments: 2

Patch Set 4 : Addressed Mark's latest comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/mac/Breakpad.xcodeproj/project.pbxproj View 1 2 42 chunks +346 lines, -353 lines 0 comments Download
M src/client/mac/Framework/Breakpad.mm View 4 chunks +13 lines, -20 lines 0 comments Download
M src/client/mac/Framework/OnDemandServer.mm View 1 chunk +1 line, -1 line 0 comments Download
M src/client/mac/crash_generation/Inspector.mm View 1 2 4 chunks +6 lines, -5 lines 0 comments Download
M src/client/mac/handler/breakpad_nlist_64.cc View 1 2 6 chunks +11 lines, -11 lines 0 comments Download
M src/client/mac/handler/dynamic_images.cc View 3 chunks +4 lines, -6 lines 0 comments Download
M src/client/mac/handler/dynamic_images.h View 1 2 7 chunks +16 lines, -8 lines 0 comments Download
M src/client/mac/handler/exception_handler_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/client/mac/handler/minidump_generator.cc View 1 2 3 7 chunks +19 lines, -12 lines 0 comments Download
M src/client/mac/handler/protected_memory_allocator.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/client/mac/handler/protected_memory_allocator.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/client/mac/sender/crash_report_sender.h View 2 chunks +3 lines, -2 lines 0 comments Download
M src/client/mac/sender/crash_report_sender.m View 21 chunks +35 lines, -32 lines 0 comments Download
M src/client/mac/testapp/Controller.m View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/client/mac/testapp/English.lproj/MainMenu.xib View 26 chunks +870 lines, -28 lines 0 comments Download
M src/client/mac/testapp/TestClass.mm View 1 chunk +1 line, -1 line 0 comments Download
M src/client/mac/tests/SimpleStringDictionaryTest.h View 1 chunk +1 line, -1 line 0 comments Download
M src/client/minidump_file_writer-inl.h View 1 2 1 chunk +12 lines, -9 lines 0 comments Download
M src/client/minidump_file_writer.cc View 1 2 5 chunks +10 lines, -9 lines 0 comments Download
M src/client/minidump_file_writer.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/client/minidump_file_writer_unittest.cc View 2 1 chunk +6 lines, -5 lines 0 comments Download
M src/common/dwarf/bytereader.cc View 1 chunk +3 lines, -3 lines 1 comment Download
M src/common/dwarf/dwarf2reader.cc View 1 2 13 chunks +16 lines, -17 lines 0 comments Download
M src/common/dwarf/dwarf2reader.h View 1 chunk +1 line, -1 line 0 comments Download
M src/common/dwarf/line_state_machine.h View 1 chunk +1 line, -1 line 0 comments Download
A src/common/mac/Breakpad.xcconfig View 1 1 chunk +57 lines, -0 lines 0 comments Download
A src/common/mac/BreakpadDebug.xcconfig View 1 chunk +32 lines, -0 lines 0 comments Download
A src/common/mac/BreakpadRelease.xcconfig View 1 chunk +33 lines, -0 lines 0 comments Download
M src/common/mac/HTTPMultipartUpload.m View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/common/mac/MachIPC.h View 1 chunk +1 line, -1 line 0 comments Download
M src/common/mac/MachIPC.mm View 1 2 6 chunks +16 lines, -15 lines 0 comments Download
M src/common/mac/dump_syms.h View 1 2 1 chunk +11 lines, -1 line 1 comment Download
M src/common/mac/dump_syms.mm View 1 2 3 3 chunks +14 lines, -1 line 0 comments Download
M src/common/mac/macho_id.cc View 1 2 4 chunks +11 lines, -4 lines 0 comments Download
M src/common/mac/macho_id.h View 1 chunk +1 line, -1 line 0 comments Download
M src/common/mac/macho_reader.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/common/mac/macho_reader_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/common/mac/macho_walker.cc View 1 chunk +5 lines, -1 line 0 comments Download
M src/common/mac/macho_walker.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/common/mac/string_utilities.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/common/module.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/common/module.h View 1 chunk +2 lines, -1 line 1 comment Download
M src/common/module_unittest.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M src/common/string_conversion.cc View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M src/common/test_assembler_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M src/processor/stackwalker_sparc.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/tools/mac/crash_report/crash_report.xcodeproj/project.pbxproj View 9 chunks +68 lines, -79 lines 0 comments Download
M src/tools/mac/crash_report/on_demand_symbol_supplier.mm View 1 2 6 chunks +25 lines, -14 lines 0 comments Download
M src/tools/mac/dump_syms/dump_syms.xcodeproj/project.pbxproj View 1 2 25 chunks +26 lines, -283 lines 0 comments Download
M src/tools/mac/dump_syms/macho_dump.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/tools/mac/symupload/minidump_upload.m View 2 chunks +4 lines, -4 lines 0 comments Download
M src/tools/mac/symupload/symupload.m View 2 chunks +3 lines, -3 lines 0 comments Download
M src/tools/mac/symupload/symupload.xcodeproj/project.pbxproj View 6 chunks +13 lines, -62 lines 0 comments Download

Messages

Total messages: 6
dmaclach
Passes all the unittests, not sure what else you guys do to test a given ...
14 years, 4 months ago #1
Mark Mentovai
LGTM by and large. Generally we’d prefer C++<style>(casts) to (cstyle)casts. I didn’t mark these inline, ...
14 years, 4 months ago #2
dmaclach
Fixed up my casts as well, although it's a mixed bag in there to say ...
14 years, 4 months ago #3
Mark Mentovai
Cast-wise, you’re right, a lot of this code is a mixed bag. http://breakpad.appspot.com/130001/diff/11001/12048 File src/client/mac/handler/minidump_generator.cc ...
14 years, 4 months ago #4
Mark Mentovai
LGTM
14 years, 4 months ago #5
jimb
14 years, 4 months ago #6
Hi --- I had a few comments.

http://breakpad.appspot.com/130001/diff/54002/50032
File src/common/dwarf/bytereader.cc (right):

http://breakpad.appspot.com/130001/diff/54002/50032#newcode126
Line 126: uint64_t skew = section_base_ & (AddressSize() - 1);
It seemed best to me to do this computation in size_t, since we are talking
about indices into real buffers in our memory, and uint64_t may be slower than
size_t.

http://breakpad.appspot.com/130001/diff/54002/50023
File src/common/mac/dump_syms.h (right):

http://breakpad.appspot.com/130001/diff/54002/50023#newcode95
Line 95: bool SetArchitecture(const std::string &arch_name);
I didn't see where this got used. Is it?

http://breakpad.appspot.com/130001/diff/54002/50034
File src/common/module.h (right):

http://breakpad.appspot.com/130001/diff/54002/50034#newcode277
Line 277: typedef set<Function *, FunctionCompare> FunctionSet;
Type definitions are supposed to appear earlier.  Can you move this to after
FileByNameMap?
Sign in to reply to this message.

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