From 87000a948524cba7538ccc5438f6a9ecbd4e347e Mon Sep 17 00:00:00 2001 From: Calin Juravle Date: Mon, 24 Aug 2015 15:34:44 +0100 Subject: Add option to append to the cfg dump. This makes life easier when verifying tests with unresolved classes (which call dex2oat at rutime). Change-Id: I7985b2b7c0f343462e03a26b8395297c810b1d95 --- compiler/driver/compiler_driver.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'compiler/driver/compiler_driver.h') diff --git a/compiler/driver/compiler_driver.h b/compiler/driver/compiler_driver.h index b229184909..11e782f437 100644 --- a/compiler/driver/compiler_driver.h +++ b/compiler/driver/compiler_driver.h @@ -99,7 +99,7 @@ class CompilerDriver { std::unordered_set* compiled_classes, std::unordered_set* compiled_methods, size_t thread_count, bool dump_stats, bool dump_passes, - const std::string& dump_cfg_file_name, + const std::string& dump_cfg_file_name, bool dump_cfg_append, CumulativeLogger* timer, int swap_fd, const std::string& profile_file); @@ -426,6 +426,10 @@ class CompilerDriver { return dump_cfg_file_name_; } + bool GetDumpCfgAppend() const { + return dump_cfg_append_; + } + CumulativeLogger* GetTimingsLogger() const { return timings_logger_; } @@ -667,6 +671,7 @@ class CompilerDriver { bool dump_stats_; const bool dump_passes_; const std::string dump_cfg_file_name_; + const bool dump_cfg_append_; CumulativeLogger* const timings_logger_; -- cgit v1.2.3-59-g8ed1b