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

Unified Diff: runtime/lib/async_patch.dart

Issue 2646443005: Track async causal stack traces (Closed)
Patch Set: initialize async_causal_stack_trace_ to NULL Created 3 years, 11 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
« no previous file with comments | « no previous file | runtime/lib/stacktrace.h » ('j') | runtime/lib/stacktrace.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/async_patch.dart
diff --git a/runtime/lib/async_patch.dart b/runtime/lib/async_patch.dart
index 3e22fb044545fef55933c31361b6ea48c946e976..12bc1d128ccf8ade8d78df54cfc6fc3d213133df 100644
--- a/runtime/lib/async_patch.dart
+++ b/runtime/lib/async_patch.dart
@@ -190,3 +190,14 @@ class _AsyncStarStreamController {
}
@patch void _rethrow(Object error, StackTrace stackTrace) native "Async_rethrow";
+
+
+/// Returns a [StackTrace] object containing the synchronous prefix for this
+/// asynchronous method.
+Object _asyncStackTraceHelper() native "StackTrace_asyncStackTraceHelper";
+
+void _clearAsyncThreadStackTrace()
+ native "StackTrace_clearAsyncThreadStackTrace";
+
+void _setAsyncThreadStackTrace(StackTrace stackTrace) native
+ "StackTrace_setAsyncThreadStackTrace";
« no previous file with comments | « no previous file | runtime/lib/stacktrace.h » ('j') | runtime/lib/stacktrace.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698