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

Issue 343003: Breakpad DWARF: Add support for DWARF 4 attribute forms. (Closed)

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

Description

This patch allows Breakpad's DWARF reader to at least read or skip
attributes using the new forms defined in version 4 of the DWARF
specification, instead of crashing.

Attributes encoded using DW_FORM_flag_present, DW_FORM_sec_offset, and
DW_FORM_exprloc should work fine now. However, compilation units using
DW_FORM_ref_sig8 to refer to types in .debug_types will need further work
to support. (GCC 4.6.2 does not emit .debug_types sections.)

Patch Set 1 #

Patch Set 2 : Breakpad DWARF: Add support for DWARF 4 attribute forms. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/common/dwarf/dwarf2diehandler.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M src/common/dwarf/dwarf2diehandler.h View 2 chunks +7 lines, -0 lines 0 comments Download
M src/common/dwarf/dwarf2diehandler_unittest.cc View 4 chunks +13 lines, -0 lines 0 comments Download
M src/common/dwarf/dwarf2enums.h View 1 chunk +7 lines, -1 line 0 comments Download
M src/common/dwarf/dwarf2reader.cc View 1 6 chunks +19 lines, -2 lines 1 comment Download
M src/common/dwarf/dwarf2reader.h View 1 chunk +9 lines, -0 lines 0 comments Download
M src/common/dwarf/dwarf2reader_die_unittest.cc View 1 3 chunks +114 lines, -5 lines 0 comments Download

Messages

Total messages: 11
jimb
12 years, 10 months ago #1
Ted Mielczarek
LGTM, as best as I can tell.
12 years, 10 months ago #2
jimb
In getting ready to land this, I had a crisis of conscience: it's really not ...
12 years, 10 months ago #3
Lei Zhang (chromium)
Will this make dump_syms work on newer distros like Fedora 16? Are you using git/hg ...
12 years, 10 months ago #4
jimb
On Thu, Jan 26, 2012 at 3:41 PM, <thestig@chromium.org> wrote: > Will this make dump_syms ...
12 years, 10 months ago #5
jimb
On 2012/01/27 01:57:55, jimb wrote: > Good idea --- done. I made this change in ...
12 years, 10 months ago #6
Lei Zhang (chromium)
On 2012/01/27 01:57:55, jimb wrote: > On Thu, Jan 26, 2012 at 3:41 PM, <mailto:thestig@chromium.org> ...
12 years, 10 months ago #7
Ted Mielczarek
On 2012/01/27 02:11:21, thestig wrote: > On 2012/01/27 01:57:55, jimb wrote: > > On Thu, ...
12 years, 10 months ago #8
jimb
On 2012/01/27 12:05:48, Ted Mielczarek wrote: > The original reporter there was using Fedora 16, ...
12 years, 10 months ago #9
Ted Mielczarek
LGTM. Can you land this patch in mozilla-central as well as Breakpad SVN?
12 years, 9 months ago #10
jimb
12 years, 9 months ago #11
On 2012/02/01 13:04:53, Ted Mielczarek wrote:
> LGTM. Can you land this patch in mozilla-central as well as Breakpad SVN?

Sure thing. Thanks for the review!
Sign in to reply to this message.

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