Merge "Return error message if IndirectReferenceTable construction fails."
am: 3bbfcb794f
Change-Id: Ib7f88016ae51ce543542ada3dd0c578d0a463c22
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index bde4185..b7c1cdd 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -1413,11 +1413,6 @@
}
void Runtime::DumpForSigQuit(std::ostream& os) {
- // Dumping for SIGQIT may cause deadlocks if the the debugger is active. b/26118154
- if (Dbg::IsDebuggerActive()) {
- LOG(INFO) << "Skipping DumpForSigQuit due to active debugger";
- return;
- }
GetClassLinker()->DumpForSigQuit(os);
GetInternTable()->DumpForSigQuit(os);
GetJavaVM()->DumpForSigQuit(os);
diff --git a/runtime/utils.cc b/runtime/utils.cc
index 5557d5f..ced9884 100644
--- a/runtime/utils.cc
+++ b/runtime/utils.cc
@@ -37,6 +37,7 @@
#if defined(__APPLE__)
#include "AvailabilityMacros.h" // For MAC_OS_X_VERSION_MAX_ALLOWED
#include <sys/syscall.h>
+#include <crt_externs.h>
#endif
#if defined(__linux__)