Index: runtime/vm/os_thread_macos.cc |
diff --git a/runtime/vm/os_thread_macos.cc b/runtime/vm/os_thread_macos.cc |
index 23fe4d7ca60b20edf593c57db6ac2a7655d02c82..ec0959bcc6174e4b9469391866507ebb20935763 100644 |
--- a/runtime/vm/os_thread_macos.cc |
+++ b/runtime/vm/os_thread_macos.cc |
@@ -29,7 +29,7 @@ namespace dart { |
if (result != 0) { \ |
const int kBufferSize = 1024; \ |
char error_message[kBufferSize]; \ |
- NOT_IN_PRODUCT(Profiler::DumpStackTrace()); \ |
+ NOT_IN_PRODUCT(Profiler::DumpStackTrace(true /* native_stack_trace */)); \ |
Utils::StrError(result, error_message, kBufferSize); \ |
FATAL2("pthread error: %d (%s)", result, error_message); \ |
} |