OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89ea417
)
Disable stack mprotects when running on valgrind
author
Dmitriy Ivanov
<dimitry@google.com>
Wed, 26 Nov 2014 18:30:11 +0000
(10:30 -0800)
committer
Dmitriy Ivanov
<dimitry@google.com>
Wed, 26 Nov 2014 18:30:11 +0000
(10:30 -0800)
Bug:
18155388
Change-Id: I17d7e3c707e83b864b0394ebbfb2438021faf76f
runtime/runtime.cc
patch
|
blob
|
history
diff --git
a/runtime/runtime.cc
b/runtime/runtime.cc
index
bcfb2fe
..
d6cafcc
100644
(file)
--- a/
runtime/runtime.cc
+++ b/
runtime/runtime.cc
@@
-760,7
+760,7
@@
bool Runtime::Init(const RuntimeOptions& raw_options, bool ignore_unrecognized)
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.