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 |