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

Unified Diff: runtime/lib/stacktrace.h

Issue 2646443005: Track async causal stack traces (Closed)
Patch Set: rebase Created 3 years, 10 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 | « runtime/lib/async_patch.dart ('k') | runtime/lib/stacktrace.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/stacktrace.h
diff --git a/runtime/lib/stacktrace.h b/runtime/lib/stacktrace.h
index fe67a9dcd9723ee19b778aba3b86dc901e35a0b0..c4820709211ba104e2eb7c8d57d1c0729a8c52f4 100644
--- a/runtime/lib/stacktrace.h
+++ b/runtime/lib/stacktrace.h
@@ -8,6 +8,7 @@
namespace dart {
class StackTrace;
+class RawStackTrace;
// Creates a StackTrace object from the current stack. Skips the
// first skip_frames Dart frames.
@@ -16,6 +17,9 @@ class StackTrace;
// assertion failures, etc.
const StackTrace& GetCurrentStackTrace(int skip_frames);
+// Creates a StackTrace object to be attached to an exception.
+RawStackTrace* GetStackTraceForException();
+
} // namespace dart
#endif // RUNTIME_LIB_STACKTRACE_H_
« no previous file with comments | « runtime/lib/async_patch.dart ('k') | runtime/lib/stacktrace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698