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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 2514113002: Dump stack trace on segfault in the VM. (Closed)
Patch Set: comment Created 4 years, 1 month 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/include/dart_api.h ('k') | runtime/vm/profiler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index 5e4f4cb7c3919a1be614737f6c78c920bdef039a..b3161c12a847e30e3bfb187cc62b877a30cb1e21 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -6671,4 +6671,9 @@ DART_EXPORT bool Dart_IsPrecompiledRuntime() {
#endif
}
+
+DART_EXPORT void Dart_DumpNativeStackTrace(void* context) {
+ Profiler::DumpStackTrace(context);
+}
+
} // namespace dart
« no previous file with comments | « runtime/include/dart_api.h ('k') | runtime/vm/profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698