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

Unified Diff: runtime/include/dart_api.h

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
« no previous file with comments | « runtime/bin/platform_macos.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_api.h
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
index a085a724bf47fe05981d292b3f56300031dd09c4..7c0488c7a38f6014e23f149896b452d322767469 100644
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -3236,4 +3236,10 @@ Dart_CreateAppJITSnapshot(uint8_t** vm_isolate_snapshot_buffer,
*/
DART_EXPORT bool Dart_IsPrecompiledRuntime();
+
+/**
+ * Print a stack trace. Used for crash handling.
siva 2016/11/22 06:28:32 Print a native stack trace.....
Florian Schneider 2016/11/23 18:27:08 Done.
+ */
+DART_EXPORT void Dart_DumpNativeStackTrace(void* context);
+
#endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
« no previous file with comments | « runtime/bin/platform_macos.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698