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

Issue 267001: Put PUBLIC lines in Mac and Linux symbol files (Closed)

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

Description

This is an updated version of Mark's patch from
http://breakpad.appspot.com/163001. The changes are just to address Jim's review
comments, and adding unit tests.

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated with review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/common/module.cc View 1 2 chunks +29 lines, -1 line 0 comments Download
M src/common/module.h View 1 6 chunks +35 lines, -1 line 0 comments Download
M src/common/module_unittest.cc View 1 1 chunk +59 lines, -0 lines 0 comments Download
M src/common/stabs_reader.cc View 2 chunks +27 lines, -1 line 0 comments Download
M src/common/stabs_reader.h View 2 chunks +11 lines, -1 line 0 comments Download
M src/common/stabs_reader_unittest.cc View 2 chunks +51 lines, -1 line 0 comments Download
M src/common/stabs_to_module.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M src/common/stabs_to_module.h View 3 chunks +9 lines, -6 lines 0 comments Download
M src/common/stabs_to_module_unittest.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 10
Ted Mielczarek
13 years, 8 months ago #1
Ted Mielczarek
I was testing this by running it on everything in /usr/lib and /System/Library/Frameworks on my ...
13 years, 8 months ago #2
Mark Mentovai
Perhaps we ought not cxa_demangle things that aren’t _Z?
13 years, 8 months ago #3
jimb
Thanks for revising this! http://breakpad.appspot.com/267001/diff/1/2 File src/common/module.cc (right): http://breakpad.appspot.com/267001/diff/1/2#newcode235 Line 235: if (ext->address != last_address) ...
13 years, 8 months ago #4
jimb
Also, what did you think of my suggestion that the ExternSet simply *own* the Externs, ...
13 years, 8 months ago #5
Ted Mielczarek
On 2011/03/02 22:50:59, jimb wrote: > Also, what did you think of my suggestion that ...
13 years, 8 months ago #6
Ted Mielczarek
http://breakpad.appspot.com/267001/diff/1/10 File src/common/stabs_to_module_unittest.cc (right): http://breakpad.appspot.com/267001/diff/1/10#newcode83 Line 83: EXPECT_TRUE(h.Extern("__Z21dyldGlobalLockAcquirev", 0xaaaa)); On 2011/03/02 22:08:00, jimb wrote: > ...
13 years, 8 months ago #7
Ted Mielczarek
13 years, 8 months ago #8
jimb
On 2011/03/03 18:36:49, Ted Mielczarek wrote: > On 2011/03/02 22:50:59, jimb wrote: > > Also, ...
13 years, 8 months ago #9
jimb
13 years, 8 months ago #10
On 2011/03/03 19:37:11, Ted Mielczarek wrote:
> http://breakpad.appspot.com/267001/diff/1/10
> File src/common/stabs_to_module_unittest.cc (right):
> 
> http://breakpad.appspot.com/267001/diff/1/10#newcode83
> Line 83: EXPECT_TRUE(h.Extern("__Z21dyldGlobalLockAcquirev", 0xaaaa));
> On 2011/03/02 22:08:00, jimb wrote:
> > Isn't this the first dependency on mangling syntax in the test suite? I
don't
> > think we can really test that portably.
> 
> Oh, no, actually, your existing tests have function name demangling tests:

Oh. [embarrassed]

Could you put that in an #ifdef __GNUC__?
Sign in to reply to this message.

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