Enable strict gcstress unwind checks.
Report if we fail to unwind during the gcstress tests.
I have fixed several races and ART unwind issues recently.
This CL might need to be reverted if I missed anything.
Test: test.py -r --gcstress --target --ndebug
Change-Id: Ib4de7451bab959be310b4e4a2cb3e448c6e73caa
diff --git a/runtime/backtrace_helper.cc b/runtime/backtrace_helper.cc
index 74e6130..994b0fa 100644
--- a/runtime/backtrace_helper.cc
+++ b/runtime/backtrace_helper.cc
@@ -46,7 +46,7 @@
// Strict integrity check of the backtrace:
// All methods must have a name, all the way to "main".
-static constexpr bool kStrictUnwindChecks = false;
+static constexpr bool kStrictUnwindChecks = true;
struct UnwindHelper : public TLSData {
static constexpr const char* kTlsKey = "UnwindHelper::kTlsKey";