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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 2514113002: Dump stack trace on segfault in the VM. (Closed)
Patch Set: fix build 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
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index e58810d318daf5a30e1b6b9a3f8fbb2fe7dea95c..ab233ab7e9a66a1479f1bc2458ca82416e615f95 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -6604,4 +6604,9 @@ DART_EXPORT bool Dart_IsPrecompiledRuntime() {
#endif
}
+
+DART_EXPORT void Dart_DumpNativeStackTrace(void* context) {
+ Profiler::DumpStackTrace(context);
+}
+
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698