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

Issue 96001: Breakpad Mac symbol dumper: Unify with Linux dumper; support DWARF CFI. (Closed)

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

Description

This patch rewrites the Mac symbol dumper to use the same set of classes
the Linux dumper does for reading debugging information from various
sources, consolidating them into a single table, and writing that out as a
Breakpad symbol file.

In the process, it also adds support for dumping DWARF call frame
information and .eh_frame exception-handling information as Breakpad 'STACK
CFI' records. This allows the Breakpad processor to generate stack traces
from code compiled with -fomit-frame-pointer.

The patch also replaces the DumpSymbols Objective C++ class with
google_breakpad::DumpSymbols, a plain C++ class. The code still uses some
Objective C++ to use the Foundation facilities for dealing with file names
in a file-system-independent fashion, and for examining the contents of
.dSYM bundles.

Since the code has been entirely rewritten, I have changed the author
lines.

Patch Set 1 #

Total comments: 53
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/common/mac/dump_syms.h View 2 chunks +123 lines, -40 lines 20 comments Download
M src/common/mac/dump_syms.mm View 2 chunks +444 lines, -1186 lines 33 comments Download
M src/common/mac/macho_walker.cc View 1 chunk +1 line, -10 lines 0 comments Download
M src/tools/mac/dump_syms/dump_syms.xcodeproj/project.pbxproj View 7 chunks +68 lines, -6 lines 0 comments Download
M src/tools/mac/dump_syms/dump_syms_tool.mm View 1 chunk +37 lines, -19 lines 0 comments Download

Messages

Total messages: 11
jimb
Here's the big one.
14 years ago #1
jimb
By the way, I think that this patch fixes the following Breakpad issues: Issue 289: ...
14 years ago #2
jimb
Add mark as reviewer.
14 years ago #3
Mark Mentovai
Longer, more interesting change. I’ll get to it later.
14 years ago #4
jimb
Adding Ted as reviewer.
13 years, 11 months ago #5
Mark Mentovai
http://breakpad.appspot.com/96001/diff/1/2 File src/common/mac/dump_syms.h (right): http://breakpad.appspot.com/96001/diff/1/2#newcode1 Line 1: // -*- mode: C++ -*- Stupid consistency nit ...
13 years, 10 months ago #6
jimb
Thanks for the review! http://breakpad.appspot.com/96001/diff/1/2 File src/common/mac/dump_syms.h (right): http://breakpad.appspot.com/96001/diff/1/2#newcode1 Line 1: // -*- mode: C++ ...
13 years, 10 months ago #7
Mark Mentovai
http://breakpad.appspot.com/96001/diff/1/2 File src/common/mac/dump_syms.h (right): http://breakpad.appspot.com/96001/diff/1/2#newcode131 Line 131: NSString *filename_; jimb wrote: > Hum. input_pathname_? Sure. ...
13 years, 10 months ago #8
jimb
http://breakpad.appspot.com/96001/diff/1/3 File src/common/mac/dump_syms.mm (right): http://breakpad.appspot.com/96001/diff/1/3#newcode143 Line 143: const char *message = strerror(errno); On 2010/06/03 21:26:28, ...
13 years, 10 months ago #9
Mark Mentovai
http://breakpad.appspot.com/96001/diff/1/3 File src/common/mac/dump_syms.mm (right): http://breakpad.appspot.com/96001/diff/1/3#newcode143 Line 143: const char *message = strerror(errno); jimb wrote: > ...
13 years, 10 months ago #10
Ted Mielczarek
13 years, 10 months ago #11

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