Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Issue 2832084: Updating stack for 22450 (Closed)

Created:
10 years, 5 months ago by oshima
Modified:
9 years, 6 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

Messages

Total messages: 6 (0 generated)
oshima
10 years, 5 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 ...
10 years, 5 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: ...
10 years, 5 months ago (2010-07-27 05:28:35 UTC) #3
dank
What Stuart said :-)
10 years, 5 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 ...
10 years, 4 months ago (2010-07-28 06:05:28 UTC) #5
Alexander Potapenko
10 years, 4 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.

Powered by Google App Engine
This is Rietveld 408576698