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

Issue 508002: DWARF reader doesn't support length for high_pc

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

Description

DWARF can store DW_AT_high_pc as either an address or a constant. In the latter
case it's the length of the function. breakpad always treats it as an address.

Patch Set 1 #

Total comments: 4

Patch Set 2 : rev2 #

Patch Set 3 : rev3 - whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
src/common/dwarf_cu_to_module.cc View 4 chunks +13 lines, -2 lines 0 comments Download
src/common/dwarf_cu_to_module_unittest.cc View 1 2 5 chunks +48 lines, -17 lines 0 comments Download

Messages

Total messages: 9
mattdr
11 years, 11 months ago #1
jimb
LGTM, with some C++ style issues fixed. Thank you! http://breakpad.appspot.com/508002/diff/1/src/common/dwarf_cu_to_module_unittest.cc File src/common/dwarf_cu_to_module_unittest.cc (right): http://breakpad.appspot.com/508002/diff/1/src/common/dwarf_cu_to_module_unittest.cc#newcode204 src/common/dwarf_cu_to_module_unittest.cc:204: ...
11 years, 11 months ago #2
mattdr
Thanks for your comments. I've pushed back a bit, but I can make changes if ...
11 years, 11 months ago #3
jimb
SOLD. I'll land for you.
11 years, 11 months ago #4
jimb
On 2013/01/07 23:56:28, mattdr wrote: > http://breakpad.appspot.com/508002/diff/1/src/common/dwarf_cu_to_module_unittest.cc#newcode614 > src/common/dwarf_cu_to_module_unittest.cc:614: #define DefineFunction(...) > TRACE(DefineFunction(__VA_ARGS__)) > On ...
11 years, 11 months ago #5
mattdr
rev2
11 years, 11 months ago #6
mattdr
rev3 - whitespace
11 years, 11 months ago #7
mattdr
Alas. Replaced the variadic macro. Thanks for getting this in!
11 years, 11 months ago #8
jimb
11 years, 11 months ago #9
Committed as r1094. Thanks!
Sign in to reply to this message.

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