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

Issue 8524006: Windows produces different output for __FUNCTION__. Canonicalize. (Closed)

Created:
9 years, 1 month ago by turnidge
Modified:
9 years, 1 month ago
Reviewers:
cshapiro
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Windows produces different output for __FUNCTION__. Canonicalize.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M runtime/vm/dart_api_impl.cc View 3 chunks +13 lines, -3 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
turnidge
TBR=cshapiro
9 years, 1 month ago (2011-11-10 19:48:12 UTC) #1
cshapiro
9 years, 1 month ago (2011-11-11 00:51:42 UTC) #2
lgtm

LGTM

http://codereview.chromium.org/8524006/diff/1/runtime/vm/dart_api_impl.cc
File runtime/vm/dart_api_impl.cc (right):

http://codereview.chromium.org/8524006/diff/1/runtime/vm/dart_api_impl.cc#new...
runtime/vm/dart_api_impl.cc:38: #define CURRENT_FUNC
CanonicalFunction(__FUNCTION__)
I think you might want __PRETTY_NAME__ on G++ and __FUNCSIG__ on MSVC for
something more consistent.

I do not have access to a Windows machine to confirm this at the moment.

Powered by Google App Engine
This is Rietveld 408576698