| Index: runtime/vm/os_thread_android.cc
|
| diff --git a/runtime/vm/os_thread_android.cc b/runtime/vm/os_thread_android.cc
|
| index 0ea90e6cdb54ee09af4b238f18c7f1807b0bacf2..8f9c648ad25e8bbdfe2acb1562b250fdcc772dae 100644
|
| --- a/runtime/vm/os_thread_android.cc
|
| +++ b/runtime/vm/os_thread_android.cc
|
| @@ -16,12 +16,15 @@
|
| #include "platform/signal_blocker.h"
|
| #include "platform/utils.h"
|
|
|
| +#include "vm/profiler.h"
|
| +
|
| namespace dart {
|
|
|
| #define VALIDATE_PTHREAD_RESULT(result) \
|
| if (result != 0) { \
|
| const int kBufferSize = 1024; \
|
| char error_message[kBufferSize]; \
|
| + NOT_IN_PRODUCT(Profiler::DumpStackTrace(true /* native_stack_trace */)); \
|
| Utils::StrError(result, error_message, kBufferSize); \
|
| FATAL2("pthread error: %d (%s)", result, error_message); \
|
| }
|
|
|