summaryrefslogtreecommitdiff
path: root/oatdump/oatdump_test.h
diff options
context:
space:
mode:
author Lokesh Gidra <lokeshgidra@google.com> 2019-02-26 00:10:04 +0000
committer Lokesh Gidra <lokeshgidra@google.com> 2019-02-26 00:21:13 +0000
commit44044b1522c7486ca8b308bf49b1f39b82626e6d (patch)
tree42e9ff1ceaf2918ad4adc7767576fbf5b6588f25 /oatdump/oatdump_test.h
parent1194f8f6ec6a8825ebefbfae2f45fe4d1a93897d (diff)
Revert "Fix oatdump .data.bimg.rel.ro for intrinsics."
This reverts commit 9a8dcea0e97e610c5b8589e0093dbb7766a08694. Reason for revert: Causing the oatdump_app_test gtest failure over several builds. Change-Id: I5b985fc701183415529f636cf2e39ed46031ff59
Diffstat (limited to 'oatdump/oatdump_test.h')
-rw-r--r--oatdump/oatdump_test.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/oatdump/oatdump_test.h b/oatdump/oatdump_test.h
index c4f29677a9..3ead8de905 100644
--- a/oatdump/oatdump_test.h
+++ b/oatdump/oatdump_test.h
@@ -92,7 +92,6 @@ class OatDumpTest : public CommonRuntimeTest {
kModeOat,
kModeCoreOat,
kModeOatWithBootImage,
- kModeAppImage,
kModeArt,
kModeSymbolize,
};
@@ -109,10 +108,6 @@ class OatDumpTest : public CommonRuntimeTest {
return "ProfileTestMultiDex";
}
- std::string GetAppImageName() {
- return tmp_dir_ + "/" + GetAppBaseName() + ".art";
- }
-
std::string GetAppOdexName() {
return tmp_dir_ + "/" + GetAppBaseName() + ".odex";
}
@@ -205,17 +200,6 @@ class OatDumpTest : public CommonRuntimeTest {
exec_argv.push_back("--instruction-set=" + std::string(
GetInstructionSetString(kRuntimeISA)));
exec_argv.push_back("--oat-file=" + GetAppOdexName());
- } else if (mode == kModeAppImage) {
- exec_argv.push_back("--runtime-arg");
- exec_argv.push_back(GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames()));
- exec_argv.push_back("--runtime-arg");
- exec_argv.push_back(
- GetClassPathOption("-Xbootclasspath-locations:", GetLibCoreDexLocations()));
- exec_argv.push_back("--image=" + GetCoreArtLocation());
- exec_argv.push_back("--instruction-set=" + std::string(
- GetInstructionSetString(kRuntimeISA)));
- exec_argv.push_back("--app-oat=" + GetAppOdexName());
- exec_argv.push_back("--app-image=" + GetAppImageName());
} else if (mode == kModeCoreOat) {
exec_argv.push_back("--oat-file=" + core_oat_location_);
} else {