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

Unified Diff: runtime/bin/process_win.cc

Issue 10831005: Emit symbol maps for compiled code for use by the Linux perf tool. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: pre-review changes Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/process_win.cc
diff --git a/runtime/bin/process_win.cc b/runtime/bin/process_win.cc
index f1081d57e56c90d605df9cd0cbbfad36d660ee73..ca4d1473f0d0c0a14f41160503c6d4c12d43f0b8 100644
--- a/runtime/bin/process_win.cc
+++ b/runtime/bin/process_win.cc
@@ -521,3 +521,8 @@ bool Process::Kill(intptr_t id, int signal) {
void Process::TerminateExitCodeHandler() {
// Nothing needs to be done on Windows.
}
+
+
+intptr_t Process::CurrentProcessId() {
+ return static_cast<intptr_t>(GetCurrentProcessId());
+}

Powered by Google App Engine
This is Rietveld 408576698