diff options
Diffstat (limited to 'compiler/image_test.cc')
-rw-r--r-- | compiler/image_test.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/compiler/image_test.cc b/compiler/image_test.cc index cda6240bd4..c3a31ca42a 100644 --- a/compiler/image_test.cc +++ b/compiler/image_test.cc @@ -113,14 +113,9 @@ TEST_F(ImageTest, WriteRead) { elf_writer->EndText(text); elf_writer->SetBssSize(oat_writer.GetBssSize()); - elf_writer->WriteDynamicSection(); - - ArrayRef<const dwarf::MethodDebugInfo> method_infos(oat_writer.GetMethodDebugInfo()); - elf_writer->WriteDebugInfo(method_infos); - - ArrayRef<const uintptr_t> patch_locations(oat_writer.GetAbsolutePatchLocations()); - elf_writer->WritePatchLocations(patch_locations); + elf_writer->WriteDebugInfo(oat_writer.GetMethodDebugInfo()); + elf_writer->WritePatchLocations(oat_writer.GetAbsolutePatchLocations()); success = elf_writer->End(); |