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

Issue 10537041: Base: Add another pc to the handle verifier to get to the (Closed)

Created:
8 years, 6 months ago by rvargas (doing something else)
Modified:
8 years, 6 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org
Visibility:
Public.

Description

Base: Add another pc to the handle verifier to get to the actual caller. I was hoping for an inlining that didn't happened. BUG=127931 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140899

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -13 lines) Patch
M base/win/scoped_handle.h View 7 chunks +24 lines, -9 lines 0 comments Download
M base/win/scoped_handle.cc View 4 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
rvargas (doing something else)
8 years, 6 months ago (2012-06-06 22:53:05 UTC) #1
willchan no longer on Chromium
Why don't we just base::debug::StackTrace? It's not like the scoped handle is widely used, so ...
8 years, 6 months ago (2012-06-06 23:58:11 UTC) #2
rvargas (doing something else)
8 years, 6 months ago (2012-06-07 00:24:54 UTC) #3
On 2012/06/06 23:58:11, willchan wrote:
> Why don't we just base::debug::StackTrace? It's not like the scoped handle is
> widely used, so it shouldn't have much cost. For a single canary release, I
> think the cost is worth it.

That code requires DbgHelp and it can get confused by optimized builds without
symbols, so yes, it is a lot more expensive.

I doubt this will be in for a single canary release :). It should go away, but
probably not that soon.

> 
> That said, if you prefer this approach, LGTM.

Thanks.

Powered by Google App Engine
This is Rietveld 408576698