Generalize Valgrind annotations in ART to support ASan.
Also add redzones around non-fixed mem_map(s).
Also extend -Wframe-larger-than limit to enable arm64 ASan build.
Change-Id: Ie572481a25fead59fc8978d2c317a33ac418516c
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 6fd1b07..70e62f8 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -511,8 +511,8 @@
return cpu_abilist_;
}
- bool RunningOnValgrind() const {
- return running_on_valgrind_;
+ bool IsRunningOnMemoryTool() const {
+ return is_running_on_memory_tool_;
}
void SetTargetSdkVersion(int32_t version) {
@@ -677,7 +677,7 @@
bool stats_enabled_;
RuntimeStats stats_;
- const bool running_on_valgrind_;
+ const bool is_running_on_memory_tool_;
std::string profile_output_filename_;
ProfilerOptions profiler_options_;