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

Issue 593002: Mac: Fix more errors from clang to get crash_report.xcodeproj close to compiling. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by Lei Zhang (chromium)
Modified:
11 years, 6 months ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Mac: Fix more errors from clang to get crash_report.xcodeproj close to
compiling.

R=mark@chromium.org

Committed: https://code.google.com/p/google-breakpad/source/detail?r=1176

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/common/dwarf/functioninfo.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/third_party/libdisasm/x86_disasm.c View 1 chunk +1 line, -1 line 0 comments Download
M src/tools/mac/crash_report/crash_report.mm View 1 chunk +1 line, -1 line 0 comments Download
M src/tools/mac/crash_report/on_demand_symbol_supplier.mm View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11
Lei Zhang (chromium)
https://breakpad.appspot.com/593002/diff/1/src/tools/mac/crash_report/on_demand_symbol_supplier.mm File src/tools/mac/crash_report/on_demand_symbol_supplier.mm (right): https://breakpad.appspot.com/593002/diff/1/src/tools/mac/crash_report/on_demand_symbol_supplier.mm#newcode84 src/tools/mac/crash_report/on_demand_symbol_supplier.mm:84: NSString *dataStr = [[[NSString alloc] initWithContentsOfFile:filePath encoding:NSUTF8StringEncoding error:&error] autorelease]; ...
11 years, 6 months ago #1
Mark Mentovai
https://breakpad.appspot.com/593002/diff/1/src/tools/mac/crash_report/on_demand_symbol_supplier.mm File src/tools/mac/crash_report/on_demand_symbol_supplier.mm (right): https://breakpad.appspot.com/593002/diff/1/src/tools/mac/crash_report/on_demand_symbol_supplier.mm#newcode84 src/tools/mac/crash_report/on_demand_symbol_supplier.mm:84: NSString *dataStr = [[[NSString alloc] initWithContentsOfFile:filePath encoding:NSUTF8StringEncoding error:&error] autorelease]; ...
11 years, 6 months ago #2
Lei Zhang (chromium)
https://breakpad.appspot.com/593002/diff/1/src/tools/mac/crash_report/on_demand_symbol_supplier.mm File src/tools/mac/crash_report/on_demand_symbol_supplier.mm (right): https://breakpad.appspot.com/593002/diff/1/src/tools/mac/crash_report/on_demand_symbol_supplier.mm#newcode84 src/tools/mac/crash_report/on_demand_symbol_supplier.mm:84: NSString *dataStr = [[[NSString alloc] initWithContentsOfFile:filePath encoding:NSUTF8StringEncoding error:&error] autorelease]; ...
11 years, 6 months ago #3
Mark Mentovai
Funny, the docs don't say it's deprecated. Does -dataWithContentsOfFile: work? On May 8, 2013 1:42 ...
11 years, 6 months ago #4
Lei Zhang (chromium)
On 2013/05/08 17:49:52, Mark Mentovai wrote: > Funny, the docs don't say it's deprecated. Does ...
11 years, 6 months ago #5
Mark Mentovai
LGTM with that change then. But I wonder what’s going on. It’s not marked deprecated ...
11 years, 6 months ago #6
Mark Mentovai
Oh, wait, hold on, it’s an NSString, not NSData.
11 years, 6 months ago #7
Mark Mentovai
https://breakpad.appspot.com/593002/diff/1/src/tools/mac/crash_report/on_demand_symbol_supplier.mm File src/tools/mac/crash_report/on_demand_symbol_supplier.mm (right): https://breakpad.appspot.com/593002/diff/1/src/tools/mac/crash_report/on_demand_symbol_supplier.mm#newcode84 src/tools/mac/crash_report/on_demand_symbol_supplier.mm:84: NSString *dataStr = [[[NSString alloc] initWithContentsOfFile:filePath encoding:NSUTF8StringEncoding error:&error] autorelease]; ...
11 years, 6 months ago #8
Lei Zhang (chromium)
ok, can you look at patch set 2?
11 years, 6 months ago #9
Mark Mentovai
LGTM.
11 years, 6 months ago #10
Lei Zhang (chromium)
11 years, 6 months ago #11
Message was sent while issue was closed.
Committed patchset #2 manually as r1176 (presubmit successful).
Sign in to reply to this message.

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