summaryrefslogtreecommitdiffstats
path: root/compiler/driver/compiler_driver.h
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2015-01-13 18:07:00 +0000
committerDavid Brazdil <dbrazdil@google.com>2015-01-13 18:07:00 +0000
commit54953dfdcb3bb8896d8af2d20adef84fb740ce77 (patch)
tree5ffa9718d1f20c27fceaff95a1da0558d5d20321 /compiler/driver/compiler_driver.h
parent8fccea249b1a6f1469eeea42c2b2cca06ce1c70d (diff)
downloadandroid_art-54953dfdcb3bb8896d8af2d20adef84fb740ce77.tar.gz
android_art-54953dfdcb3bb8896d8af2d20adef84fb740ce77.tar.bz2
android_art-54953dfdcb3bb8896d8af2d20adef84fb740ce77.zip
ART: dex2oat flag for HGraphVisualizer dump file
This patch adds a new flag to dex2oat which allows to specify the name of the file that HGraphVisualizer will store its output into. Until now the graph was dumped to "art.cfg" in the current working directory. To make Checker work with run-test, the output directory needs to be customizable. Change-Id: I395c518b987e594e89e5e80f202a96befa41ac20
Diffstat (limited to 'compiler/driver/compiler_driver.h')
-rw-r--r--compiler/driver/compiler_driver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h
index 7ddc32cdd8..11b4329e32 100644
--- a/compiler/driver/compiler_driver.h
+++ b/compiler/driver/compiler_driver.h
@@ -97,6 +97,7 @@ class CompilerDriver {
bool image, std::set<std::string>* image_classes,
std::set<std::string>* compiled_classes,
size_t thread_count, bool dump_stats, bool dump_passes,
+ const std::string& dump_cfg_file_name,
CumulativeLogger* timer, int swap_fd,
const std::string& profile_file);
@@ -371,6 +372,10 @@ class CompilerDriver {
return dump_passes_;
}
+ const std::string& GetDumpCfgFileName() const {
+ return dump_cfg_file_name_;
+ }
+
CumulativeLogger* GetTimingsLogger() const {
return timings_logger_;
}
@@ -542,6 +547,7 @@ class CompilerDriver {
bool dump_stats_;
const bool dump_passes_;
+ const std::string& dump_cfg_file_name_;
CumulativeLogger* const timings_logger_;