commit | 56bf0c793d461cc2f9c37ab8fce79a268fd700e0 | [log] [tgz] |
---|---|---|
author | Dmitriy Ivanov <dimitry@google.com> | Wed Nov 26 10:30:11 2014 -0800 |
committer | Dmitriy Ivanov <dimitry@google.com> | Wed Nov 26 10:30:11 2014 -0800 |
tree | 981f7d297c434e639924cac3cf2c93e656ef9f52 | |
parent | 89ea4176ae89b81702e6a803828de5b95b161393 [diff] |
Disable stack mprotects when running on valgrind Bug: 18155388 Change-Id: I17d7e3c707e83b864b0394ebbfb2438021faf76f
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index bcfb2fe..d6cafcc 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc
@@ -760,7 +760,7 @@ case kArm64: case kX86_64: implicit_null_checks_ = true; - implicit_so_checks_ = true; + implicit_so_checks_ = (RUNNING_ON_VALGRIND == 0); break; default: // Keep the defaults.