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

Issue 185001: Linux code should use build id produced by ld --build-id if available (Closed)

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

Description

Modern binutils actually include a Build ID in an ELF NOTE section, as I noted
in issue 243. This patch lets the Linux code use that ID as the file ID if
available.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Refactor a bit, add unit tests #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/common/linux/file_id.cc View 1 1 chunk +123 lines, -38 lines 2 comments Download
M src/common/linux/file_id.h View 1 chunk +3 lines, -2 lines 0 comments Download
M src/common/linux/file_id_unittest.cc View 2 chunks +96 lines, -56 lines 1 comment Download
M src/common/linux/synth_elf.cc View 2 chunks +31 lines, -0 lines 1 comment Download
M src/common/linux/synth_elf.h View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Ted Mielczarek
I uploaded this patch because I had written it a while ago. I think we ...
13 years, 4 months ago #1
Lei Zhang (chromium)
mostly LGTM, just some nits: http://breakpad.appspot.com/185001/diff/1/2 File src/common/linux/file_id.cc (right): http://breakpad.appspot.com/185001/diff/1/2#newcode56 Line 56: #define NT_GNU_BUILD_ID 3 ...
13 years, 4 months ago #2
Ted Mielczarek
13 years, 4 months ago #3
Ted Mielczarek
Mind giving this a second once-over? While addressing your last comment I wound up refactoring ...
13 years, 4 months ago #4
Lei Zhang (chromium)
LGTM with some silly nits. Apologies for the delay. You sent out patch set 2 ...
13 years, 3 months ago #5
Ted Mielczarek
13 years, 2 months ago #6
On 2011/08/01 20:23:47, thestig wrote:
> Apologies for the delay. You sent out patch set 2 right after I went on
> vacation. @_@

No problem. I went on vacation somewhere in there as well. And then I forgot
about this patch for a month anyway. Thanks for the reviews!
Sign in to reply to this message.

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