summaryrefslogtreecommitdiff
path: root/compiler/linker/relative_patcher_test.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2016-02-16 12:50:23 +0000
committer Vladimir Marko <vmarko@google.com> 2016-02-17 16:38:46 +0000
commit6065402316da2b51eed5fc34cffbd991766bd408 (patch)
treecb93e32b978ea03a70baf980c470a03263c084c0 /compiler/linker/relative_patcher_test.h
parent442643920a6c539e98aad76594e99b932b5631ba (diff)
Allow method references across oat files for multi-image.
These were disabled because we didn't have sufficient information about the multi-image layout when processing link-time patches in OatWriter. This CL refactors the ELF file creation so that the information is available. Change-Id: I6f2e8dc8572d143c72cc2693bb0ba4fd76f889ab
Diffstat (limited to 'compiler/linker/relative_patcher_test.h')
-rw-r--r--compiler/linker/relative_patcher_test.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/compiler/linker/relative_patcher_test.h b/compiler/linker/relative_patcher_test.h
index bf8e786f64..8bff41c976 100644
--- a/compiler/linker/relative_patcher_test.h
+++ b/compiler/linker/relative_patcher_test.h
@@ -44,10 +44,22 @@ class RelativePatcherTest : public testing::Test {
: compiler_options_(),
verification_results_(&compiler_options_),
inliner_map_(),
- driver_(&compiler_options_, &verification_results_, &inliner_map_,
- Compiler::kQuick, instruction_set, nullptr,
- false, nullptr, nullptr, nullptr, 1u,
- false, false, nullptr, -1, nullptr, nullptr),
+ driver_(&compiler_options_,
+ &verification_results_,
+ &inliner_map_,
+ Compiler::kQuick,
+ instruction_set,
+ /* instruction_set_features*/ nullptr,
+ /* boot_image */ false,
+ /* image_classes */ nullptr,
+ /* compiled_classes */ nullptr,
+ /* compiled_methods */ nullptr,
+ /* thread_count */ 1u,
+ /* dump_stats */ false,
+ /* dump_passes */ false,
+ /* timer */ nullptr,
+ /* swap_fd */ -1,
+ /* profile_compilation_info */ nullptr),
error_msg_(),
instruction_set_(instruction_set),
features_(InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg_)),