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

Issue 12025038: Hide private corelib's method from stack trace in exceptions. (Closed)

Created:
7 years, 11 months ago by srdjan
Modified:
7 years, 11 months ago
Reviewers:
siva, Ivan Posva
CC:
reviews_dartlang.org, Ivan Posva
Visibility:
Public.

Description

Hide private corelib's method from stack trace in exceptions. Committed: https://code.google.com/p/dart/source/detail?r=17489

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -9 lines) Patch
M runtime/vm/exceptions.cc View 1 2 3 4 5 2 chunks +20 lines, -7 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 3 chunks +9 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 4 chunks +47 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
srdjan
7 years, 11 months ago (2013-01-19 00:53:39 UTC) #1
siva
LGTM I am a little confused that we want to see public functions of private ...
7 years, 11 months ago (2013-01-19 01:12:13 UTC) #2
srdjan
Redesigned CL as discussed. Mark certain functions as invisible in stack trace. Please have another ...
7 years, 11 months ago (2013-01-22 22:17:29 UTC) #3
Ivan Posva
LGTM with comment. -Ivan https://codereview.chromium.org/12025038/diff/14001/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/12025038/diff/14001/runtime/vm/exceptions.cc#newcode24 runtime/vm/exceptions.cc:24: "Includes also core-lib's private methods"); ...
7 years, 11 months ago (2013-01-23 01:17:26 UTC) #4
siva
lgtm https://codereview.chromium.org/12025038/diff/14001/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/12025038/diff/14001/runtime/vm/exceptions.cc#newcode24 runtime/vm/exceptions.cc:24: "Includes also core-lib's private methods"); Since we plan ...
7 years, 11 months ago (2013-01-23 01:40:22 UTC) #5
srdjan
7 years, 11 months ago (2013-01-23 19:22:29 UTC) #6
https://codereview.chromium.org/12025038/diff/14001/runtime/vm/exceptions.cc
File runtime/vm/exceptions.cc (right):

https://codereview.chromium.org/12025038/diff/14001/runtime/vm/exceptions.cc#...
runtime/vm/exceptions.cc:24: "Includes also core-lib's private methods");
On 2013/01/23 01:17:26, Ivan Posva wrote:
> private -> invisible

Done.

https://codereview.chromium.org/12025038/diff/14001/runtime/vm/exceptions.cc#...
runtime/vm/exceptions.cc:24: "Includes also core-lib's private methods");
On 2013/01/23 01:40:22, siva wrote:
> Since we plan on allowing some non core-lib methods to also be invisible we
> should probably drop core-lib, maybe say
> something generic
> "Stack traces will include methods marked invisible"

Done.

https://codereview.chromium.org/12025038/diff/14001/runtime/vm/object.cc
File runtime/vm/object.cc (right):

https://codereview.chromium.org/12025038/diff/14001/runtime/vm/object.cc#newc...
runtime/vm/object.cc:135: static void CallIt(const Library& lib,
On 2013/01/23 01:17:26, Ivan Posva wrote:
> Please CallIt something more descriptive.

MarkFunctionAsInvisible

Powered by Google App Engine
This is Rietveld 408576698