summaryrefslogtreecommitdiffstats
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2015-01-13 21:21:31 +0000
committerDavid Brazdil <dbrazdil@google.com>2015-01-13 21:21:31 +0000
commit866c03125a3fcd74c9fff04da87865f5eb1767d9 (patch)
tree497bafc21358961524a6ef9bb045d522b91d8d27 /compiler/common_compiler_test.cc
parent07ab4ec97221d882322a1ce064557202150f44ea (diff)
downloadandroid_art-866c03125a3fcd74c9fff04da87865f5eb1767d9.tar.gz
android_art-866c03125a3fcd74c9fff04da87865f5eb1767d9.tar.bz2
android_art-866c03125a3fcd74c9fff04da87865f5eb1767d9.zip
ART: dex2oat flag for HGraphVisualizer dump file
This patch adds a new '--dump-cfg=<file>' flag to dex2oat which specifies 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: I4a940f7708b88deea5a0e51d13aed13e52199349
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r--compiler/common_compiler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc
index 7df71f5b8a..96f8e0c355 100644
--- a/compiler/common_compiler_test.cc
+++ b/compiler/common_compiler_test.cc
@@ -164,7 +164,7 @@ void CommonCompilerTest::SetUp() {
compiler_kind, instruction_set,
instruction_set_features_.get(),
true, new std::set<std::string>, nullptr,
- 2, true, true, timer_.get(), -1, ""));
+ 2, true, true, "", timer_.get(), -1, ""));
}
// We typically don't generate an image in unit tests, disable this optimization by default.
compiler_driver_->SetSupportBootImageFixup(false);