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 |