Chromium Code Reviews
Help | Chromium Project | Sign in
(1)

Issue 2832084: Updating stack for 22450 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 10 months ago by oshima
Modified:
3 years, 11 months ago
CC:
chromium-reviews, Timur Iskhodzhanov, pam+watch_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : " #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M tools/valgrind/memcheck/suppressions.txt View 1 1 chunk +1 line, -1 line 1 comment Download
Trybot results:
Commit: CQ not working?

Messages

Total messages: 6 (0 generated)
oshima
4 years, 10 months ago (2010-07-27 00:09:06 UTC) #1
stuartmorgan
http://codereview.chromium.org/2832084/diff/2001/3001 File tools/valgrind/memcheck/suppressions.txt (right): http://codereview.chromium.org/2832084/diff/2001/3001#newcode1498 tools/valgrind/memcheck/suppressions.txt:1498: fun:_ZN3net64_GLOBAL__N_net_socket_client_socket_factory.cc_00000000_EA9FDEC926DefaultClientSocketFactory21CreateTCPClientSocketERKNS_11AddressListEPNS_6NetLogE Anonymous functions tend to have fragile signatures. I ...
4 years, 10 months ago (2010-07-27 00:18:34 UTC) #2
oshima
Thank you for the tip On Mon, Jul 26, 2010 at 5:18 PM, <stuartmorgan@chromium.org> wrote: ...
4 years, 10 months ago (2010-07-27 05:28:35 UTC) #3
dank
What Stuart said :-)
4 years, 10 months ago (2010-07-27 15:36:56 UTC) #4
oshima
On Mon, Jul 26, 2010 at 5:18 PM, <stuartmorgan@chromium.org> wrote: > > http://codereview.chromium.org/2832084/diff/2001/3001 > File ...
4 years, 10 months ago (2010-07-28 06:05:28 UTC) #5
Alexander Potapenko
4 years, 10 months ago (2010-07-28 06:22:13 UTC) #6
> 
> Hi,
> 
> I'm looking at suppressions.txt to fix other suppressions that uses
> anonymous functions, and found that some suppressions are using the
> following pattern.
> 
>
fun:_ZN3net64_GLOBAL__N_net_socket_client_socket_factory.cc_00000000_*DefaultClientSocketFactory21CreateTCPClientSocketERKNS_11AddressListEPNS_6NetLogE
> 
> Which one do you think is better?
> 
> - oshima
> 
> 

As this pattern is less strict, it's ok to use it until something breaks down
(it will if the file path changes). But as
"_GLOBAL__N_net_socket_client_socket_factory.cc_00000000_EA9FDEC9" is an unique
anonymous namespace name, we don't actually need it.
I suggest to take Stuart's version because it's more readable.

There are also the following patterns in suppressions.txt:
   fun:_ZN3gfx51_GLOBAL__N_gfx_codec_png_codec.cc_00000000_*
This is definitely bad.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be